Skip to content

Commit aa28677

Browse files
ridoogiohappy
authored andcommitted
Reset tearDown method
Tried to reset the global cache which did not work
1 parent f4ac97e commit aa28677

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

geonode/tests/base.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ def setUp(self):
6767
super().setUp()
6868
faulthandler.enable()
6969

70-
def tearDown(self):
71-
# cleanup globally cached items
72-
globally_cached = ["storer_modules", "user_deletion_modules", "geoapp_subtypes"]
73-
for cached in globally_cached:
74-
if cached in globals():
75-
del globals()[cached]
76-
return super().tearDown()
77-
7870

7971
class GeoNodeLiveTestSupport(GeoNodeBaseTestSupport, LiveServerTestCase):
8072
integration = True

0 commit comments

Comments
 (0)