Skip to content

Commit

Permalink
test: add call to plugin_settings to fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pomegranited committed Jun 13, 2024
1 parent bde2bdf commit abfdb2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from django.test import TestCase
from django.utils.timezone import now

from completion_aggregator.settings import common as common_settings
from completion_aggregator.models import Aggregator


Expand All @@ -35,6 +36,7 @@ def setUp(self):
self.user = get_user_model().objects.create(username='testuser')
self.tracker_patch = patch('completion_aggregator.models.tracker')
self.tracker_mock = self.tracker_patch.start()
common_settings.plugin_settings(settings)

def tearDown(self):
"""Stop patching."""
Expand Down

0 comments on commit abfdb2a

Please sign in to comment.