Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gabbi/handlers/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def action(self, test, expected, value=None):
expected = expected[1:-1]
test.assertRegex(
test.output, expected,
'Expect resonse body %s to match /%s/' %
'Expect response body %s to match /%s/' %
(test.output, expected))
else:
test.assert_in_or_print_output(expected, test.output)
Expand Down
1 change: 0 additions & 1 deletion gabbi/tests/simple_wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class SimpleWsgi:
"""A simple wsgi application to use in tests."""

def __call__(self, environ, start_response):
global METHODS
global CURRENT_POLL

script_name = environ.get('SCRIPT_NAME', '')
Expand Down
2 changes: 1 addition & 1 deletion gabbi/tests/test_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def test_response_headers_fail_header(self):
self.assertIn("'location' header not present in response:",
str(failure.exception))

def test_resonse_headers_stringify(self):
def test_response_headers_stringify(self):
handler = core.HeadersResponseHandler()
self.test.test_data = {'response_headers': {
'x-alpha-beta': 2.0,
Expand Down