12 lines
221 B
Python
12 lines
221 B
Python
from autonomic.settings import add, get, remove
|
|
|
|
|
|
def test_add_get_remove():
|
|
add({"foo": "bar"})
|
|
|
|
assert get("doesnt-exist") is None
|
|
assert get("foo") == "bar"
|
|
|
|
remove("foo")
|
|
assert get("foo") is None
|