From a47c2b72fbb4ad971a743cbc24525a608f33f18b Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Thu, 27 Jul 2023 17:38:41 -0700 Subject: [PATCH] Fix movie edition tests --- tests/test_video.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_video.py b/tests/test_video.py index 4a5b3e408..e238c4f01 100644 --- a/tests/test_video.py +++ b/tests/test_video.py @@ -669,12 +669,16 @@ def test_video_Movie_mixins_fields(movie): test_mixins.edit_tagline(movie) test_mixins.edit_title(movie) test_mixins.edit_user_rating(movie) + + +@pytest.mark.anonymous +def test_video_Movie_mixins_fields_edition(movie): with pytest.raises(BadRequest): test_mixins.edit_edition_title(movie) @pytest.mark.authenticated -def test_video_Movie_mixins_fields_edition(movie): +def test_video_Movie_mixins_fields_edition_authenticated(movie): test_mixins.edit_edition_title(movie)