Combine githost tests, as the disable test was (inadvertently) relying on the state of the enable test
This commit is contained in:
parent
913952ae27
commit
19ba7c6ddc
1 changed files with 1 additions and 4 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue