Skip to content

Travis CI Build fails when importing KeyboardEmulator #59

@GeorgeCiesinski

Description

@GeorgeCiesinski

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:
build-fail

Trvis CI Environment

  • platform linux -- Python 3.8.0, pytest-5.2.1, py-1.8.0, pluggy-0.13.0
  • rootdir: /home/travis/build/GeorgeCiesinski/text-script
  • collected 7 items / 1 errors / 6 selected

Additional context
Running pytest locally works without issues. This is likely caused by running on a VM.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions