Skip to content

Commit

Permalink
Fixed failing unittest.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelson committed Apr 2, 2016
1 parent c25662a commit 1e5e1be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda_forge_webservices/tests/test_webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_app(self):

class TestBucketHandler(TestHandlerBase):
def test_bad_header(self):
response = self.fetch('/hook', method='POST',
response = self.fetch('/conda-linting/hook', method='POST',
body=urlencode({'a': 1}))
self.assertEqual(response.code, 404)

Expand All @@ -32,7 +32,7 @@ def test_good_header(self, comment_on_pr, compute_lint_message):
'pull_request': {'number': '3',
'state': 'open'}}

response = self.fetch('/hook', method='POST',
response = self.fetch('/conda-linting/hook', method='POST',
body=json.dumps(body),
headers={'X-GitHub-Event': 'pull_request'})

Expand Down

0 comments on commit 1e5e1be

Please sign in to comment.