Skip to content

Commit

Permalink
Disable too-many-ancestors in ImageUpdateNotesTest and ImageDeleteTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Themanwhosmellslikesugar committed Feb 2, 2021
1 parent d501e14 commit f12e1e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_listing_devices(self):
self.assertEqual(response.status_code, status.HTTP_200_OK)


class ImageListingTest(BaseImageTest):
class ImageListingTest(BaseImageTest): # pylint: disable=too-many-ancestors
"""Tests the getting list of images. """

def test_listing_images(self):
Expand Down Expand Up @@ -146,7 +146,7 @@ def test_listing_images_unauthorized(self):
self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)


class ImageDeleteTest(BaseImageTest):
class ImageDeleteTest(BaseImageTest): # pylint: disable=too-many-ancestors
"""Tests the deleting image. """

def test_image_delete(self):
Expand Down Expand Up @@ -210,7 +210,7 @@ def test_image_delete_user_not_have_current_image(self):
self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)


class ImageUpdateNotesTest(BaseImageTest):
class ImageUpdateNotesTest(BaseImageTest): # pylint: disable=too-many-ancestors
"""Tests the updating notes of image. """

def test_update_notes(self):
Expand Down

0 comments on commit f12e1e2

Please sign in to comment.