Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_redirect failure #966

Open
nieder opened this issue Jul 26, 2023 · 1 comment
Open

test_redirect failure #966

nieder opened this issue Jul 26, 2023 · 1 comment

Comments

@nieder
Copy link

nieder commented Jul 26, 2023

Building on macOS (though I don't think this should matter) vs py37-py310, I get the following failure when running nosetests:

FAIL: test_redirect (tests.test_api.APITestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/sw/build.build/flask-restful-py37-0.3.10-1/flask-restful-0.3.10/tests/test_api.py", line 973, in test_redirect
    self.assertEqual(resp.headers['Location'], 'http://localhost/')
AssertionError: '/' != 'http://localhost/'
- /
+ http://localhost/
@nieder
Copy link
Author

nieder commented Jul 26, 2023

Forgot to note that this is with flask-restful v0.3.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant