Skip to content

Commit

Permalink
Clean db after each tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Oct 21, 2019
1 parent 3d9f8ee commit 7d2d510
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ckan/tests/migration/test_migrate_package_activity.py
Expand Up @@ -24,8 +24,7 @@ class TestMigrateDataset(object):
def setup(self):
helpers.reset_db()

@classmethod
def teardown_class(cls):
def teardown(self):
helpers.reset_db()

def test_migration(self):
Expand Down Expand Up @@ -208,8 +207,7 @@ class TestWipeActivityDetail(object):
def setup(self):
helpers.reset_db()

@classmethod
def teardown_class(cls):
def teardown(self):
helpers.reset_db()

def test_wipe_activity_detail(self):
Expand Down

0 comments on commit 7d2d510

Please sign in to comment.