diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2017-10-06 12:24:04 +0200 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-10-06 12:24:04 +0200 |
| commit | e977fbd564a833be1140045ad20a7fe68fbb9a6e (patch) | |
| tree | 2c9266c5d1d352518d23ef1b77693e88fa6dcf0b /tests | |
| parent | 094f0c135b9b66c4e130bda774b2768fe854c276 (diff) | |
| download | cherrypy-git-e977fbd564a833be1140045ad20a7fe68fbb9a6e.tar.gz | |
For dist-check, cherrypy must be imported late.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dist-check.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/dist-check.py b/tests/dist-check.py index b8e56af6..e4d614f0 100644 --- a/tests/dist-check.py +++ b/tests/dist-check.py @@ -17,8 +17,6 @@ import sys import pytest -import cherrypy - @pytest.fixture(params=[ 'favicon.ico', @@ -44,6 +42,7 @@ def test_data_files_installed(data_file_path): Ensure that data file paths are available in the installed package as expected. """ + import cherrypy root = os.path.dirname(cherrypy.__file__) fn = os.path.join(root, data_file_path) assert os.path.exists(fn), fn |
