mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 22:48:27 +02:00
Fix #648: Improved test suite speed by reducing / disabling expensive operations
This commit is contained in:
parent
17cb09fdc6
commit
7657db4212
8 changed files with 32 additions and 6 deletions
|
@ -410,3 +410,9 @@ def no_api_auth(preferences):
|
|||
def migrator(transactional_db):
|
||||
yield MigrationExecutor(connection)
|
||||
call_command("migrate", interactive=False)
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def rsa_small_key(settings):
|
||||
# smaller size for faster generation, since it's CPU hungry
|
||||
settings.RSA_KEY_SIZE = 512
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue