Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Jun 13, 2019
1 parent 346a4d6 commit 8599a92
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/app/template_cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@pytest.fixture
def voila_args_extra():
path_test_template = os.path.abspath(os.path.join(BASE_DIR, 'test_template/share/jupyter/templates/voila/test_template/'))
path_test_template = os.path.abspath(os.path.join(BASE_DIR, '../test_template/share/jupyter/templates/voila/test_template/'))
path_default = os.path.abspath(os.path.join(BASE_DIR, '../../share/jupyter/templates/voila/default'))
return ['--template=None', '--VoilaTest.template_paths=[%r, %r]' % (path_test_template, path_default)]

Expand Down
2 changes: 1 addition & 1 deletion tests/test_template/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


data_files = []
for (dirpath, dirnames, filenames) in os.walk('share/jupyter/voila/templates/'):
for (dirpath, dirnames, filenames) in os.walk('share/jupyter/templates/voila'):
if filenames:
data_files.append((dirpath, [os.path.join(dirpath, filename) for filename in filenames]))

Expand Down

0 comments on commit 8599a92

Please sign in to comment.