Combine githost tests, as the disable test was (inadvertently) relying on the state of the enable test

This commit is contained in:
Joseph Schorr 2018-06-01 17:07:04 -04:00
parent 913952ae27
commit 19ba7c6ddc

View file

@ -116,10 +116,7 @@ def test_list_build_sources_for_namespace(namespace, expected, githost_trigger):
assert githost_trigger.list_build_sources_for_namespace(namespace) == expected
def test_activate(githost_trigger):
def test_activate_and_deactivate(githost_trigger):
_, private_key = githost_trigger.activate('http://some/url')
assert 'private_key' in private_key
def test_deactivate(githost_trigger):
githost_trigger.deactivate()