Bug fix
This commit is contained in:
@@ -16,7 +16,7 @@ VARS = {"foo": "bar", "bar": False, "test1": (), "test2": None, "test2_setting":
|
|||||||
def test_init():
|
def test_init():
|
||||||
cfg = ConfigOptions("test", VARS)
|
cfg = ConfigOptions("test", VARS)
|
||||||
assert isinstance(cfg, ConfigOptions)
|
assert isinstance(cfg, ConfigOptions)
|
||||||
assert cfg.foo is "bar"
|
assert cfg.foo == "bar"
|
||||||
assert cfg.bar == False
|
assert cfg.bar == False
|
||||||
assert type(cfg.test1) == tuple
|
assert type(cfg.test1) == tuple
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user