def test_nameblock_bad_mi(self):
     try:
         result = process_nameblock(["Chas G Roadrunner"])
     except DataValueError:
         pass
     else:
         self.fail("Did not see DataValueError")
 def test_nameblock_long_mi(self):
     try:
         result = process_nameblock(["Charles de la Renta"])
     except DataValueError:
         pass
     else:
         self.fail("Did not see DataValueError")
 def test_nameblock_no_mi(self):
     result = process_nameblock(["Chas Roadrunner"])
     self.assertEqual(result, ["Chas", "Roadrunner"])