Shore up test with a fixture for now
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Luke Murphy 2020-04-11 23:59:47 +02:00
parent 3ff41797c2
commit dcf23b8c35
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -1,7 +1,16 @@
import pytest
from autonomic.settings import add, get, remove
def test_add_get_remove():
@pytest.fixture
def config_yml():
from autonomic.command.init import create_configuration
create_configuration()
def test_add_get_remove(config_yml):
add({"foo": "bar"})
assert get("doesnt-exist") is None