This repository has been archived on 2020-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic/test/test_settings.py
2020-04-11 22:47:16 +02:00

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