Skip to content

Commit

Permalink
use unittest.skip instead of pytest.mark.skip for compatibility with …
Browse files Browse the repository at this point in the history
…django default test runner
  • Loading branch information
amatissart committed Nov 28, 2024
1 parent 5ec6ab3 commit 6377a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/tournesol/tests/test_api_comparison.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import datetime
from copy import deepcopy
from unittest import skip
from unittest.mock import patch

import pytest
from django.core.management import call_command
from django.db.models import ObjectDoesNotExist, Q
from django.test import TestCase, TransactionTestCase, override_settings
Expand Down Expand Up @@ -1372,7 +1372,7 @@ def setUp(self):

self.client = APIClient()

@pytest.mark.skip("Online updates not implemented in Solidago")
@skip("Online updates not implemented in Solidago")
@override_settings(
UPDATE_MEHESTAN_SCORES_ON_COMPARISON=True,
MEHESTAN_MULTIPROCESSING=False,
Expand Down

0 comments on commit 6377a08

Please sign in to comment.