Skip to content

Commit

Permalink
Merge pull request #1477 from maykinmedia/chore/tag-untagged-es-tests
Browse files Browse the repository at this point in the history
Mark incorrectly untagged elasticsearch tests
  • Loading branch information
alextreme authored Oct 30, 2024
2 parents 051d60f + e91dce3 commit 5e2afe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/open_inwoner/api/search/tests/test_autocomplete_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
this file contains tests for the RESTful API
The logic of `autocomplete` is tested at `open_inwoner.search.tests` folder
"""
from django.test import tag
from django.urls import reverse_lazy

from rest_framework import status
Expand All @@ -11,6 +12,7 @@
from open_inwoner.search.tests.utils import ESMixin


@tag("elastic")
class AutocompleteApiTests(ESMixin, APITestCase):
url = reverse_lazy("api:search_autocomplete")

Expand Down
3 changes: 2 additions & 1 deletion src/open_inwoner/search/tests/test_search_products_boost.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.test import TestCase
from django.test import TestCase, tag

from open_inwoner.pdc.tests.factories import ProductFactory

Expand All @@ -7,6 +7,7 @@
from .utils import ESMixin


@tag("elastic")
class SearchBoostTests(ESMixin, TestCase):
def setUp(self):
super().setUp()
Expand Down

0 comments on commit 5e2afe4

Please sign in to comment.