You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The test_TextController.py test has been added. This test imports Wordcatcher and KeyboardEmulator. One of the KeyboardEmulator dependencies is causing the build to fail on Travis. This is probably because of a lack of physical keyboard in this VM. Testing may need to be adjusted to run without these dependencies if possible.
Travis runs the tests in an ubuntu server version, so any imports for displays may fail, as you said. You can probably manually install them by finding the required packages and adding them to requirements_dev.txt. It's worth trying anyway. From what I can tell the offending package is XLib, which is the linux display server.
@nulldozer I assigned this to you as you are working on the test_TextController.py script. Feel free to close this issue if you resolve this error, or if you find a way around using the imports during testing.
Describe the bug
The test_TextController.py test has been added. This test imports Wordcatcher and KeyboardEmulator. One of the KeyboardEmulator dependencies is causing the build to fail on Travis. This is probably because of a lack of physical keyboard in this VM. Testing may need to be adjusted to run without these dependencies if possible.
Travis CI Build
https://travis-ci.com/github/GeorgeCiesinski/text-script/builds/154513129
Expected behavior
Build should be passing as this is a blank template test. The imports are causing it to fail.
Screenshots
Build errors:
Trvis CI Environment
Additional context
Running pytest locally works without issues. This is likely caused by running on a VM.
The text was updated successfully, but these errors were encountered: