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

Feat/swagger auth #1141

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test error
  • Loading branch information
Dawn0472 committed Jun 17, 2023
commit 9a9c08d53d93fecf8afbfd60b153782ad6d9904a
2 changes: 1 addition & 1 deletion src/events/tests/api/test_list_speeches.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
def test_list_speeches_by_category(category, bare_user, drf_api_client):
url = reverse("events:speeches-category", kwargs={"category": category})
token = Token.objects.get_or_create(user=bare_user)
drf_api_client.credentials(HTTP_AUTHORIZATION="Token " + str(token[0]))
drf_api_client.credentials(HTTP_AUTHORIZATION=str(token[0]))
response = drf_api_client.get(url)

for event in response.json():
Expand Down
Loading