Skip to content

Commit

Permalink
Remove unused setUpClass
Browse files Browse the repository at this point in the history
Related error: `AttributeError: 'TestProjectGeneralMutationSnapshotTest' object has no attribute '_snapshot_file'`
  • Loading branch information
thenav56 committed Nov 6, 2023
1 parent 05c653f commit 529281a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions apps/deep_explore/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class TestDeepExploreStats(GraphQLSnapShotTestCase):

@classmethod
def setUpClass(cls):
super().setUpClass()
user = UserFactory.create()
user2, _ = UserFactory.create_batch(2)
organization1, organization2, _ = OrganizationFactory.create_batch(3)
Expand Down
5 changes: 0 additions & 5 deletions utils/graphene/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@


class CommonSetupClassMixin:
@classmethod
def setUpClass(cls):
super().setUpClass()
# add necessary stuffs

@classmethod
def tearDownClass(cls):
super().tearDownClass()
Expand Down

0 comments on commit 529281a

Please sign in to comment.