diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py index eb2a429..46513f6 100644 --- a/core/TESTS/tests.py +++ b/core/TESTS/tests.py @@ -21,6 +21,8 @@ https://docs.djangoproject.com/en/3.0/topics/testing/tools/ todo = '''ADD TESTS when we are redirecting /expofiles/ to a remote file-delivering site + +- Add test for running cavern to produce a .3d file ''' import unittest diff --git a/core/views/caves.py b/core/views/caves.py index 5fb070d..305aabb 100644 --- a/core/views/caves.py +++ b/core/views/caves.py @@ -26,6 +26,9 @@ from .auth import login_required_if_public Manages the use of cavern to parse survex files to produce 3d and pos files ''' +todo = '''Fix rendercave() so that CaveView works +''' + def getCaves(cave_id): '''Only gets called if a call to getCave() raises a MultipleObjects exception diff --git a/core/views/other.py b/core/views/other.py index 0fc43a6..9bb9c36 100644 --- a/core/views/other.py +++ b/core/views/other.py @@ -44,6 +44,7 @@ def todos(request, module): from troggle.core.TESTS.tests import todo as tests from troggle.core.views.logbooks import todo as viewlogbooks from troggle.core.views.survex import todo as viewsurvex + from troggle.core.views.caves import todo as viewcaves from troggle.core.views.drawings import todo as viewdrawings from troggle.parsers.caves import todo as parserscaves from troggle.parsers.logbooks import todo as parserslogbooks @@ -56,6 +57,7 @@ def todos(request, module): 'tests': tests, 'views/logbooks': viewlogbooks, 'views/survex': viewsurvex, + 'views/caves': viewcaves, 'views/drawings': viewdrawings, 'parsers/caves': parserscaves, 'parsers/logbooks': parserslogbooks,