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
.travis.yml (take 2) and test fixes #941
Conversation
Either due to the recent specification cleanup or due to changes on travis-ci.org itself, the build is now passing.
Previous build with multiple TESTBUILD files failed with out of space and other errors. Until the build can be sped up and simplified, a simple compile test (and for Python, unit tests) probably suffices.
The move to argparse made many of the clitests unnecessary since we no longer have our own `Arguments` class, or use the `_likes()` method.
The ctx field for plugins was making undue use of the OMERODIR global variable. These have been replaced by a call to `_cwd(None)` which internally uses `self.dir` which is usually initialized with `OMERODIR`. This makes it possible to "re-home" a test. With this change and the minor fixes to clitest/db.py all of db.py is now passing.
Not using unittest.main() was causing sys.exit not to be properly called on failures. Now a helper method is available in xmlrunner.main to "do the right thing".
Looks great! One hardcoded line used to define |
For reference, |
Added two minor commits, neither of which will have much code impact. Stylistic comments on ``README.md welcome. /cc @hflynn |
What is this docs/QUICKSTART.txt of which you speak? |
Actually, can we use Markdown relative path links there? |
Ah, I see - yet another place you are hiding documentation! That should probably explain where the full docs are, but yes, not an issue for this PR. |
@jburel: nothing more from me if you're ok with merging. |
.travis.yml (take 2) and test fixes
Changes for activating Python tests within .travis.yml. Primarily tests have been removed or fixed, though the use of OMERODIR in
src/omero/cli.py
was required for some tests. All tests pass locally, though some are still failing on travis. Opening PR to prevent conflicts in the test classes in other PRs.