diff --git a/tests/openedx_tagging/core/tagging/test_views.py b/tests/openedx_tagging/core/tagging/test_views.py index fc7766d7..936ba0a3 100644 --- a/tests/openedx_tagging/core/tagging/test_views.py +++ b/tests/openedx_tagging/core/tagging/test_views.py @@ -1022,7 +1022,10 @@ def test_object_tags_remaining_http_methods( ("staff", "taxonomy", {"enabled": False}, ["Fungi"], status.HTTP_403_FORBIDDEN, "abc.xyz"), # If allow_multiple=True, multiple tags can be added, but not if it's false: ("user_1", "taxonomy", {"allow_multiple": True}, ["Mammalia", "Fungi"], status.HTTP_200_OK, "abc.xyz"), - ("user_1", "taxonomy", {"allow_multiple": False}, ["Mammalia", "Fungi"], status.HTTP_400_BAD_REQUEST, "abc.xyz"), + ( + "user_1", "taxonomy", {"allow_multiple": False}, + ["Mammalia", "Fungi"], status.HTTP_400_BAD_REQUEST, "abc.xyz" + ), # user_1s and staff can add tags using an open taxonomy (None, "free_text_taxonomy", {}, ["tag1"], status.HTTP_401_UNAUTHORIZED, "abc.xyz"), ("user_1", "free_text_taxonomy", {}, ["tag1", "tag2"], status.HTTP_200_OK, "abc"),