Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwojcik committed Nov 10, 2024
1 parent 5b4154c commit 360dde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testproject/testapp/tests/test_urls/test_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_all_urls(patterns, prefix=""):
if hasattr(view, "http_method_names"):
allowed_methods = view.http_method_names
elif hasattr(view, "actions"):
allowed_methods = view.actions.keys()
allowed_methods = list(view.actions.keys())
elif hasattr(
view, "view_class"
): # assume all, even though probably not
Expand Down

0 comments on commit 360dde1

Please sign in to comment.