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

Failing views test #81

Open
joemull opened this issue May 5, 2023 · 1 comment
Open

Failing views test #81

joemull opened this issue May 5, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joemull
Copy link
Member

joemull commented May 5, 2023

A views test is failing with the default test runner on Python 3.10 (django_nose does not support Django 3 or Python 3.10).

FAIL: test_export_stages (imports.tests.test_views.TestViews)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/joe/.virtualenvs/janeway/lib/python3.10/site-packages/django/test/utils.py", line 387, in inner
    return func(*args, **kwargs)
  File "/home/joe/git/janeway/src/plugins/imports/tests/test_views.py", line 75, in test_export_stages
    self.assertEqual(200, response.status_code)
AssertionError: 200 != 404
joemull added a commit that referenced this issue May 5, 2023
@joemull
Copy link
Member Author

joemull commented Feb 1, 2024

Lots of tests are now failing.

This probably means we need to update the tests to use the default test runner, not nose.

Refactoring the fixtures might help as well.

@ajrbyers ajrbyers assigned joemull and unassigned joemull May 30, 2024
@joemull joemull self-assigned this May 31, 2024
@joemull joemull added the bug Something isn't working label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant