def test_empty_string_not_ok(self): with self.assertRaises(ValueError): config.String("")
def test_parse_string(self): result = config.String("whatever") self.assertEqual(result, "whatever")