Skip to content

Commit

Permalink
Fix traitlets setting
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Aug 1, 2023
1 parent b4778e6 commit 7b3ebe6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/app/config_paths_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@pytest.fixture
def voila_config_file_paths_arg():
path = os.path.join(BASE_DIR, "..", "configs", "general")
return "--VoilaTest.config_file_paths=[%r]" % path
return f"--VoilaTest.config_file_paths path"


def test_config_app(voila_app):
Expand Down
2 changes: 1 addition & 1 deletion tests/app/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def voila_args_extra():
@pytest.fixture
def voila_config_file_paths_arg():
# we don't want the tests to use any configuration on the system
return "--VoilaTest.config_file_paths=[]"
return ""


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/app/nbextensions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def config(app):
def voila_config_file_paths_arg():
# we don't want the tests to use any configuration on the system
path = os.path.abspath(os.path.join(BASE_DIR, "../configs/general"))
return "--VoilaTest.config_file_paths=[%r]" % path
return f"--VoilaTest.config_file_paths path"


@pytest.mark.skip(reason="TODO: update for JupyterLab extensions")
Expand Down
2 changes: 1 addition & 1 deletion tests/app/preheat_configuration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@pytest.fixture
def voila_config_file_paths_arg():
path = os.path.join(BASE_DIR, "..", "configs", "preheat")
return "--VoilaTest.config_file_paths=[%r]" % path
return f"--VoilaTest.config_file_paths path"


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/app/preheat_multiple_notebooks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@pytest.fixture
def voila_config_file_paths_arg():
path = os.path.join(BASE_DIR, "..", "configs", "preheat")
return "--VoilaTest.config_file_paths=[%r]" % path
return f"--VoilaTest.config_file_paths path"


@pytest.fixture
Expand Down

0 comments on commit 7b3ebe6

Please sign in to comment.