Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/appstore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-05 16:18:42 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-01-05 19:00:38 +0300
commitc68907b2527dc4d77615d34e9d60fdf2dbb514c7 (patch)
tree5374e7f180ed6b88fd3bc46b91a49b97b1a3ad09 /scripts
parentec44de76878bfe42c23aafc7c6c63acb836ee357 (diff)
Runs Ci on ubuntu-latest
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/development/settings/base.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/development/settings/base.py b/scripts/development/settings/base.py
index 45aac8652f..c7d7be3b01 100644
--- a/scripts/development/settings/base.py
+++ b/scripts/development/settings/base.py
@@ -14,7 +14,7 @@ INTERNAL_IPS = ('127.0.0.1',)
VALIDATE_CERTIFICATES = False
FIXTURE_DIRS = (
- BASE_DIR / 'nextcloudappstore/core/tests/e2e/fixtures',
+ BASE_DIR / 'core/tests/e2e/fixtures',
)
LOGGING['handlers']['console'] = {
@@ -40,3 +40,7 @@ if 'test' in sys.argv:
EMAIL_HOST = 'localhost'
EMAIL_HOST_USER = "noreply@nextcloud.com"
+
+# Disable testing in tests
+TESTING = bool(len(sys.argv) > 1 and sys.argv[1] == 'test')
+CAPTCHA_TEST_MODE = TESTING