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

Fixture for authenticated requests in integration tests #57

Open
galbwe opened this issue Jul 13, 2021 · 1 comment
Open

Fixture for authenticated requests in integration tests #57

galbwe opened this issue Jul 13, 2021 · 1 comment
Labels
backend Tech Debt For a later phase in the project once we've build the MVP

Comments

@galbwe
Copy link
Collaborator

galbwe commented Jul 13, 2021

Use pytest:

Add a fixture to conftest.py that makes an authenticated get request.

Use the fixture to test one of the endpoints that requires authentication. /leads might be a good option.

@galbwe galbwe added backend Tech Debt For a later phase in the project once we've build the MVP labels Jul 13, 2021
@Nova791
Copy link

Nova791 commented Aug 4, 2021

@galbwe galbwe added the Hacktoberfest Hacktoberfest 2021 label Oct 1, 2021
@galbwe galbwe removed the Hacktoberfest Hacktoberfest 2021 label Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Tech Debt For a later phase in the project once we've build the MVP
Projects
None yet
Development

No branches or pull requests

2 participants