def test_to2 (self): '''Testing all digits 1 to 12), should return a string with two characters''' for integer, string in self.known_values: result = PhotodeliverII.to2 (integer) self.assertEqual(string, result)