Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Aug 20, 2020
1 parent f5acc67 commit 58ab458
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,18 +294,6 @@ def test_send_error(self):
else:
raise Exception("400 never raised")

@data((dict(commit="sha"), "Missing repository upload token"),)
def test_require_branch(self, dd):
(kwargs, reason) = dd
# this is so we dont get branch for local git
self.set_env(JENKINS_URL="hello")
try:
self.run_cli(**kwargs)
except AssertionError as e:
self.assertEqual(str(e), reason)
else:
raise Exception("Did not raise AssertionError")

@unittest.skipIf(
os.getenv("CI") == "True" and os.getenv("APPVEYOR") == "True",
"Skip AppVeyor CI test",
Expand Down

0 comments on commit 58ab458

Please sign in to comment.