-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django tests #270
Django tests #270
Conversation
Set DJANGO_SETTINGS_MODULE before the tests
|
Scripts tests are failing because scripts are not being copied over
My Django test is failing with
but as I mentioned at will-moore#4 (comment) debugging this isn't so straight-forward given this test setup... |
|
@jburel : will splitting the tests into subdirectories (or adding a |
@joshmoore that was my next step to see what can be done at the tests level |
Previously, this repository was running both the "app" and the "scripts" stages in order to modify the web & the server containers, respectively. Attempts to have both concurrently running proved difficult. Instead, `.omero/docker app` now provides an `app-srv` hook so that this repository can consider itself "just" an app.
This looks like it's working. One test still failing but I think that's for @will-moore :
|
Travis is now green. Suggested merging workflow
|
Looked at adding Django-based tests but this will clearly take a lot more setup than I am familiar with just now.
E.g. need to do similar to https://github.com/openmicroscopy/openmicroscopy/blob/develop/components/tools/OmeroWeb/setup.py#L24
Currently failing locally with