예제 #1
0
 def test_empty_string_not_ok(self):
     with self.assertRaises(ValueError):
         config.String("")
예제 #2
0
 def test_parse_string(self):
     result = config.String("whatever")
     self.assertEqual(result, "whatever")