Skip to content

Commit

Permalink
Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman-Sokolov-V committed Dec 14, 2024
1 parent 7578400 commit 8d0b712
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cinema/tests/test_movie_session_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def test_get_movie_sessions_filtered_by_movie(self):

def test_get_movie_sessions_filtered_by_movie_and_data(self):
movie_sessions = self.client.get(
f"/api/cinema/movie_sessions/?movie="{self.movie.id}&date=2022-09-2"
f"/api/cinema/movie_sessions/?movie="
f"{self.movie.id}&date=2022-09-2"
)
self.assertEqual(movie_sessions.status_code, status.HTTP_200_OK)
self.assertEqual(len(movie_sessions.data), 1)
Expand Down

0 comments on commit 8d0b712

Please sign in to comment.