Skip to content

Commit

Permalink
Skip tests using v8 fixtures below v8
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Mar 5, 2025
1 parent f873b13 commit 0e21255
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arches_controlled_lists/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"arches.app.models",
"arches.management",
"guardian",
"captcha",
# "captcha", restore after dropping 7.6 support
"revproxy",
"corsheaders",
"oauth2_provider",
Expand Down
6 changes: 3 additions & 3 deletions tests/cli_tests.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import io
import os
import unittest

from django.core import management
from django.urls import reverse
from django.test import TestCase
from django.test.client import Client
from django.test.utils import captured_stdout
from django.core.management.base import CommandError

from arches import __version__ as arches_version
from arches.app.models.models import Node
from arches.app.utils.skos import SKOSReader
from arches_controlled_lists.models import List, ListItem, ListItemValue

from .test_settings import PROJECT_TEST_ROOT
Expand Down Expand Up @@ -160,6 +159,7 @@ def test_no_matching_language_error(self):
self.assertEqual(expected_output, str(e.exception))


@unittest.skipUnless(arches_version >= "8", reason="Fixtures were created for Arches v8")
class MigrateConceptNodesToReferenceDatatypeTests(TestCase):
# Test data has three models:
# - `Concept Node Migration Test`, with four concept nodes
Expand Down

0 comments on commit 0e21255

Please sign in to comment.