-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
If you run ./test.sh --use-cache from the templates/mapp-py folder you'll get this output:
:: Setting up TestMTemplateApp
:: Creating tables in test dbs ::
E
======================================================================
ERROR: setUpClass (__main__.TestMTemplateApp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/brad/Code/medium-tech/mspec/src/mapp/test.py", line 287, in setUpClass
raise RuntimeError('Need to fix cache with new auth system')
RuntimeError: Need to fix cache with new auth system
----------------------------------------------------------------------
Ran 0 tests in 0.155s
FAILED (errors=1)
because awhile ago the auth system was updated and broke the caching. The tests pass if you just run ./test.sh. This exception is throw in setUpClass method in test.py, we should only need to update this function and possibly create a couple helper functions in this file but we want to avoid a large rewrite.
requirements
- fix test cache system
- avoid large rewrite, if more than the above changes are needed simply explain the problem without making changes and then we'll assess the level of effort.
Copilot