Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnuon committed Jan 4, 2024
1 parent 35a418e commit bd5edf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions search/tests/test_api_timing_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from search.api import emit_api_timing_event
from unittest.mock import patch, call


@override_settings(SEARCH_ENGINE="search.tests.mock_search_engine.MockSearchEngine")
class TimingEventsTest(TestCase):
""" Tests to see if timing events are emitted"""
Expand All @@ -21,12 +22,10 @@ def setUp(self):
self.mock_track = patcher.start()
self.addCleanup(patcher.stop)


def tearDown(self):
MockSearchEngine.destroy()
return super().tearDown()


def test_perform_search(self):
# pylint: disable=protected-access

Expand Down

0 comments on commit bd5edf4

Please sign in to comment.