diff options
author | Martin Green <martin.speleo@gmail.com> | 2023-05-02 22:41:36 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2023-05-02 22:41:36 +0100 |
commit | ea7c29a54ec3293cc49f1e11a5bf72ca2b44c6eb (patch) | |
tree | 1039a1edf4a37600d1e7f2fbb256b204c6dcd536 /core/TESTS | |
parent | 005238533331a4f8d281245f63ff02f858903594 (diff) | |
parent | 7f0e7d8fa3e4ce324a17151d5f76e8d3fdfa262b (diff) | |
download | troggle-ea7c29a54ec3293cc49f1e11a5bf72ca2b44c6eb.tar.gz troggle-ea7c29a54ec3293cc49f1e11a5bf72ca2b44c6eb.tar.bz2 troggle-ea7c29a54ec3293cc49f1e11a5bf72ca2b44c6eb.zip |
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
Diffstat (limited to 'core/TESTS')
-rw-r--r-- | core/TESTS/test_imports.py | 2 | ||||
-rw-r--r-- | core/TESTS/test_logins.py | 2 | ||||
-rw-r--r-- | core/TESTS/test_parsers.py | 3 | ||||
-rw-r--r-- | core/TESTS/tests.py | 3 |
4 files changed, 4 insertions, 6 deletions
diff --git a/core/TESTS/test_imports.py b/core/TESTS/test_imports.py index 28bd65e..2b23dd4 100644 --- a/core/TESTS/test_imports.py +++ b/core/TESTS/test_imports.py @@ -8,7 +8,7 @@ The simple redirections to files which exist, e.g. in /expoweb/ /expofiles/ /expofiles/documents/ -etc. will test fine. +etc. using parameters in localsettings such as PHOTOS_ROOT will test fine. But paths like this: /survey_scans/ diff --git a/core/TESTS/test_logins.py b/core/TESTS/test_logins.py index ef9478b..8596205 100644 --- a/core/TESTS/test_logins.py +++ b/core/TESTS/test_logins.py @@ -103,7 +103,7 @@ class PostTests(TestCase): self.expedition = e def test_file_permissions(self): - """Expect to be allowed to write to expofiles + """Expect to be allowed to write to SCANS_ROOT, DRAWINGS_DATA, SURVEX_DATA, EXPOWEB Need to login first. """ c = self.client diff --git a/core/TESTS/test_parsers.py b/core/TESTS/test_parsers.py index 70f19cd..00b565e 100644 --- a/core/TESTS/test_parsers.py +++ b/core/TESTS/test_parsers.py @@ -6,8 +6,7 @@ so any path that relies on data being in the database will fail. The simple redirections to files which exist, e.g. in /expoweb/ -/expofiles/ -/expofiles/documents/ +/photos/ etc. will test fine. But paths like this: diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py index 078a048..00a5021 100644 --- a/core/TESTS/tests.py +++ b/core/TESTS/tests.py @@ -6,8 +6,7 @@ so any path that relies on data being in the database will fail. The simple redirections to files which exist, e.g. in /expoweb/ -/expofiles/ -/expofiles/documents/ +/photos/ etc. will test fine. But paths like this: |