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

Pretty much every test fails on master #688

Open
kevinburkefreenome opened this issue Aug 6, 2018 · 1 comment
Open

Pretty much every test fails on master #688

kevinburkefreenome opened this issue Aug 6, 2018 · 1 comment

Comments

@kevinburkefreenome
Copy link

Hi,
Per the instructions in the README, I checked out the project and tried to run the tests, and am getting 520 failures out of 544 tests total. Most of the failures look like this:

Traceback (most recent call last):
  File "/Users/kevin/src/github.com/jfinkels/flask-restless/tests/test_serialization.py", line 502, in test_multiple_exceptions_on_included
    self.manager.create_api(self.Article)
  File "/Users/kevin/src/github.com/jfinkels/flask-restless/flask_restless/manager.py", line 891, in create_api
    blueprint = self.create_api_blueprint(blueprint_name, *args, **kw)
  File "/Users/kevin/src/github.com/jfinkels/flask-restless/flask_restless/manager.py", line 774, in create_api_blueprint
    view_func=relationship_api_view)
  File "/Users/kevin/.pyenv/versions/3.6.6/lib/python3.6/site-packages/flask/blueprints.py", line 206, in add_url_rule
    assert '.' not in view_func.__name__, "Blueprint view function name should not contain dots"
AssertionError: Blueprint view function name should not contain dots

I am running CPython 3.6.6, installed via Pyenv, on a Mac. I ran pip install -r requirements/test-cpython.txt. I also needed to run pip install psycopg2-binary to get the tests to even start running.

Searching the issue history led to issue #686. Perhaps these are related? I am confused though about how the tests are passing in Travis CI if they are not passing here.

@kevinburkefreenome
Copy link
Author

kevinburkefreenome commented Aug 6, 2018

Oh, scratch that, it looks like the tests are also failing on Travis CI. https://travis-ci.org/kevinburke/flask-restless/jobs/412732315

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