Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrkiger committed May 1, 2024
1 parent c49c714 commit 7176a72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion onadata/apps/logger/maintenance_tasks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from datetime import timedelta

# from django.db.models import QuerySet
from django.conf import settings
from django.utils import timezone
from reversion.models import Revision
Expand Down
2 changes: 1 addition & 1 deletion onadata/apps/logger/tests/models/test_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_reversion(self):
self.assertTrue(is_registered(Instance))

@override_settings(KOBOCAT_REVERSION_RETENTION_DAYS=2)
def test_reversion_cleanup(self):
def test_revision_cleanup(self):
days_ago_3 = timezone.now() - timedelta(days=3)
self._publish_transportation_form()

Expand Down

0 comments on commit 7176a72

Please sign in to comment.