From 19ba7c6ddc100911327f693be85657cda0c65af3 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 1 Jun 2018 17:07:04 -0400 Subject: [PATCH] Combine githost tests, as the disable test was (inadvertently) relying on the state of the enable test --- buildtrigger/test/test_githosthandler.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/buildtrigger/test/test_githosthandler.py b/buildtrigger/test/test_githosthandler.py index 53005d4c0..e7fbbeeed 100644 --- a/buildtrigger/test/test_githosthandler.py +++ b/buildtrigger/test/test_githosthandler.py @@ -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()