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

fixing test to add response headers and response.url #32

Merged
merged 1 commit into from Apr 11, 2013

Conversation

retornam
Copy link
Member

No description provided.

@stephendonner
Copy link
Contributor

Thx - can you print out what it'll look like with the current run, which fails? Does it match the output from the other tests, which @bobsilverberg fixed in #29 ?

@retornam
Copy link
Member Author

@brandonsavage on stage the query params are blank. dev works though

@@ -140,4 +140,6 @@ def test_redirect_for_windows_200_to_2001(self, testsetup):

parsed_url = urlparse(response.url)

Assert.true('20.0.1' in parsed_url.query, 'Redirect failed using params of %s' % (parsed_url.query))
Assert.contains('20.0.1', response.url,
'\n %s' % self.response_info(response))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be pep8 compliant you should indent the line a bit more - also it appears that you used tabs instead of spaces

@retornam
Copy link
Member Author

@m8ttyB retornam@69f159f has fixes for the whole file.

@m8ttyB
Copy link
Contributor

m8ttyB commented Apr 11, 2013

Nice! Merging

m8ttyB pushed a commit that referenced this pull request Apr 11, 2013
 fixing test to add response headers and response.url
@m8ttyB m8ttyB merged commit 7ea1382 into mozilla:master Apr 11, 2013
@retornam retornam deleted the devfix branch April 11, 2013 17:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants