71
71
stack = config.MemoryStack("")
74
74
def test_from_string(self):
75
75
stack = config.MemoryStack("ssl.cert_reqs = none\n")
77
77
stack = config.MemoryStack("ssl.cert_reqs = required\n")
79
79
stack = config.MemoryStack("ssl.cert_reqs = invalid\n")
80
80
self.assertRaises(ConfigOptionValueError, stack.get, "ssl.cert_reqs")