fix: Fix some tests missing client fixture (#4213)

Fix some tests missing client fixture
This commit is contained in:
Christophe Bornet 2024-10-19 23:00:47 +02:00 • committed by GitHub
commit bac14d99c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 1 deletions

View file

@ -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