2 Commits

Author SHA1 Message Date
Cosimo Lupo
4fb661f01a
cu2qu.test: load test package data using pkg_resources
The test suite is installed as a sub-package, so the test data must also be installed along with it.

The `__file__` attribute can be missing when importing a zipped package, so we load test files with `pkg_resources.resource_filename()`.
2016-11-02 17:51:08 +00:00
Cosimo Lupo
2a6feb01be [test] add __init__.py to turn 'test' into a sub-package 2016-03-25 19:55:38 +01:00