Skip to content

Commit

Permalink
Fix movie edition tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyWong16 committed Jul 28, 2023
1 parent 9ede493 commit a47c2b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit a47c2b7

Please sign in to comment.