Skip to content

Commit

Permalink
Update apps.py for 7.6. latest (#39)
Browse files Browse the repository at this point in the history
* Update apps.py for 7.6. latest

* Use the arches test runner instead of base test

* Formatting
  • Loading branch information
chiatt authored Nov 1, 2024
1 parent b54d280 commit 0b8cf97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 83 deletions.
4 changes: 3 additions & 1 deletion disco/apps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.apps import AppConfig
from django.conf import settings

from arches.settings_utils import generate_frontend_configuration

Expand All @@ -9,4 +10,5 @@ class DiscoConfig(AppConfig):
is_arches_application = True

def ready(self):
generate_frontend_configuration()
if settings.APP_NAME.lower() == self.name:
generate_frontend_configuration()
81 changes: 0 additions & 81 deletions tests/base_test.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

ELASTICSEARCH_PREFIX = "test"

TEST_RUNNER = "tests.base_test.ArchesTestRunner"
TEST_RUNNER = "arches.test.runner.ArchesTestRunner"
SILENCED_SYSTEM_CHECKS.append(
"arches.W001", # Cache backend does not support rate-limiting
)
Expand Down

0 comments on commit 0b8cf97

Please sign in to comment.