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

12 lines
221 B
Python
Raw Normal View History

2020-04-11 20:47:16 +00:00
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