Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 1, 2023
1 parent 7b3ebe6 commit 7c84b9c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tests/app/config_paths_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

@pytest.fixture
def voila_config_file_paths_arg():
path = os.path.join(BASE_DIR, "..", "configs", "general")
return f"--VoilaTest.config_file_paths path"
os.path.join(BASE_DIR, "..", "configs", "general")
return "--VoilaTest.config_file_paths path"


def test_config_app(voila_app):
Expand Down
4 changes: 2 additions & 2 deletions tests/app/nbextensions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def config(app):
@pytest.fixture
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 f"--VoilaTest.config_file_paths path"
os.path.abspath(os.path.join(BASE_DIR, "../configs/general"))
return "--VoilaTest.config_file_paths path"


@pytest.mark.skip(reason="TODO: update for JupyterLab extensions")
Expand Down
4 changes: 2 additions & 2 deletions tests/app/preheat_configuration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

@pytest.fixture
def voila_config_file_paths_arg():
path = os.path.join(BASE_DIR, "..", "configs", "preheat")
return f"--VoilaTest.config_file_paths path"
os.path.join(BASE_DIR, "..", "configs", "preheat")
return "--VoilaTest.config_file_paths path"


@pytest.fixture
Expand Down
4 changes: 2 additions & 2 deletions tests/app/preheat_multiple_notebooks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

@pytest.fixture
def voila_config_file_paths_arg():
path = os.path.join(BASE_DIR, "..", "configs", "preheat")
return f"--VoilaTest.config_file_paths path"
os.path.join(BASE_DIR, "..", "configs", "preheat")
return "--VoilaTest.config_file_paths path"


@pytest.fixture
Expand Down

0 comments on commit 7c84b9c

Please sign in to comment.