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

Make tests installable #10

Closed
wedaly opened this issue Sep 9, 2015 · 0 comments
Closed

Make tests installable #10

wedaly opened this issue Sep 9, 2015 · 0 comments

Comments

@wedaly
Copy link

wedaly commented Sep 9, 2015

Hi,

In a project I'm working on, we used to import the OAuth2 tests from DRF and run them on our custom OAuth2 subclass. In upgrading to DRF 3.1 and django-rest-framework-oauth, we noticed that the tests package is no longer pip installed, so we cannot import the test cases.

This is where we're trying to run the tests: https://github.com/edx/edx-platform/blob/release-2015-09-09/openedx/core/lib/api/tests/test_authentication.py

Looking through the commit history for DRF, it looks like the tests package was moved out of the installed package when adding support for pytest. Would it be possible to support pytest and still include the tests package in the pip-installable distribution for django-rest-framework-oauth?

-- Will

@wedaly wedaly closed this as completed Mar 21, 2022
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