Skip to content
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

TS-70 Fix nosetests #20

Closed
wschoenell opened this issue Oct 14, 2014 · 2 comments
Closed

TS-70 Fix nosetests #20

wschoenell opened this issue Oct 14, 2014 · 2 comments
Labels

Comments

@wschoenell
Copy link
Contributor

Travis is returning errors on these tests.
#15 chimera.core.tests.test_config.TestConfig.test_position ... FAIL
#50 Failure: ImportError (No module named asciidata) ... ERROR
#51 Failure: ImportError (No module named asciidata) ... ERROR
#52 chimera.util.tests.test_ds9.TestDS9.test_basics ... application-specific initialization failed: no display name and no $DISPLAY environment variable

Unable to initialize window system.
ERROR
#53 chimera.util.tests.test_ds9.TestDS9.test_use_global_ds9 ... application-specific initialization failed: no display name and no $DISPLAY environment variable

Unable to initialize window system.
FAIL

https://travis-ci.org/astroufsc/chimera/builds/37303505

@wschoenell wschoenell added the bug label Oct 14, 2014
@wschoenell
Copy link
Contributor Author

The first one:
https://github.com/astroufsc/chimera/blob/master/src/chimera/core/tests/test_config.py#L179

2nd and 3rd are due to chimera's dependency to the very old module asciidata:
http://www.stecf.org/software/PYTHONtools/astroasciidata/

4th and 5th are due to the intent of opening DS9 on the travis. Can be fixed as follows:
http://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-GUI-(e.g.-a-Web-browser)

@phsilva
Copy link
Contributor

phsilva commented Nov 20, 2014

Fixed.

@phsilva phsilva closed this as completed Nov 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants