Skip to content

Commit

Permalink
Update test_views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput authored Oct 19, 2024
1 parent 1aa1d4d commit d3d60fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_project/minisass/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def setUp(self):
def test_read_video_list(self):
url = reverse('video-list')
response = self.client.get(url)
self.assertNotEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(len(response.data), 1)
serialized_data = VideoSerializer(Video.objects.all(), many=True).data
self.assertEqual(response.data, serialized_data)
Expand Down

0 comments on commit d3d60fb

Please sign in to comment.