Skip to content

Commit

Permalink
tests: test_workspace moved in pytest_reana
Browse files Browse the repository at this point in the history
* Moves test_workspace directory inside pytest_reana so that it is
  discoverable by pkg_resources.

Signed-off-by: Dinos Kousidis <dinos.kousidis@cern.ch>
  • Loading branch information
dinosk committed Nov 5, 2018
1 parent b23e6f9 commit 045b388
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ include *.yaml
include pytest.ini
prune docs/_build
recursive-include pytest_reana *.py
recursive-include pytest_reana *.csv
recursive-include pytest_reana *.ipynb
recursive-include docs *.py
recursive-include docs *.png
recursive-include docs *.rst
recursive-include docs *.txt
recursive-include tests *.py
recursive-include tests *.csv
recursive-include tests *.ipynb
2 changes: 1 addition & 1 deletion pytest_reana/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def sample_workflow_workspace(tmp_shared_volume_path):
"""
test_workspace_path = pkg_resources.resource_filename(
'pytest_reana',
'../tests/test_workspace')
'test_workspace')
return shutil.copytree(test_workspace_path,
os.path.join(tmp_shared_volume_path,
'test_workspace'))
Expand Down

0 comments on commit 045b388

Please sign in to comment.