fix: Fix some tests missing client fixture (#4213)
Fix some tests missing client fixture
This commit is contained in:
parent
f96f2eaf8a
commit
bac14d99c2
3 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ def test_components_path(runner, default_settings, tmp_path):
|
|||
assert str(temp_dir) in settings_service.settings.components_path
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("session")
|
||||
@pytest.mark.usefixtures("client")
|
||||
def test_superuser(runner):
|
||||
result = runner.invoke(app, ["superuser"], input="admin\nadmin\n")
|
||||
assert result.exit_code == 0, result.stdout
|
||||
|
|
|
|||
|
|
@ -513,6 +513,7 @@ async def test_load_flows(client: TestClient):
|
|||
assert response.json()["folder_id"] is not None
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("client")
|
||||
def test_sqlite_pragmas():
|
||||
db_service = get_db_service()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue