Skip to content

Commit

Permalink
tests: addressed PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
pomegranited committed Oct 5, 2023
1 parent 736a94c commit 868057d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/openedx_tagging/core/tagging/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,8 @@ def test_object_tags_remaining_http_methods(
response = self.client.post(url, {"test": "payload"}, format="json")
elif http_method == "PATCH":
response = self.client.patch(url, {"test": "payload"}, format="json")
else: # http_method == "DELETE"
else:
assert http_method == "DELETE"
response = self.client.delete(url)

assert response.status_code == expected_status
Expand Down

0 comments on commit 868057d

Please sign in to comment.