summaryrefslogtreecommitdiff
path: root/test_xgps_deps.py
Commit message (Collapse)AuthorAgeFilesLines
* Makes test_xgps_deps more complete.Fred Wright2018-09-291-5/+13
| | | | | | | | | | | | Previously, test_xgps_deps was omitting some imports that might attempt to launch an X11 server (at least on the Mac). This can also be avoided by unsetting DISPLAY or making it empty. This approach is now taken, and all imports used by xgps and xgpsspeed are included. This also adds a missing docstring and rearranges the pylint excludes. TESTED: Now runs without launching X11 on OSX.
* Adds test for xgps dependencies.Fred Wright2018-09-271-0/+19
This adds a new test_xgps_deps.py, which duplicates the imports needed by xgps and xgpsspeed, as a quick way to verify that the proper prerequisites are in place. It avoids the imports that require (and connect to) an available X11 server. TESTED: Ran successfully with proper dependencies, and verified failure with either cairo or gobject3 removed.