Skip to content

Commit f12e1e2

Browse files
Disable too-many-ancestors in ImageUpdateNotesTest and ImageDeleteTest
1 parent d501e14 commit f12e1e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

images/tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_listing_devices(self):
106106
self.assertEqual(response.status_code, status.HTTP_200_OK)
107107

108108

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

112112
def test_listing_images(self):
@@ -146,7 +146,7 @@ def test_listing_images_unauthorized(self):
146146
self.assertEqual(response.status_code, status.HTTP_401_UNAUTHORIZED)
147147

148148

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

152152
def test_image_delete(self):
@@ -210,7 +210,7 @@ def test_image_delete_user_not_have_current_image(self):
210210
self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
211211

212212

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

216216
def test_update_notes(self):

0 commit comments

Comments
 (0)