File tree 2 files changed +2
-3
lines changed
services/web/server/tests/unit/with_dbs 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ def client(
67
67
postgres_db ,
68
68
mocked_director_subsystem ,
69
69
mock_orphaned_services ,
70
+ redis_client , # this ensure redis is properly cleaned
70
71
):
71
72
72
73
# config app
@@ -897,7 +898,6 @@ async def test_open_shared_project_2_users_locked(
897
898
aiohttp_client ,
898
899
mocker ,
899
900
disable_gc_manual_guest_users ,
900
- redis_client ,
901
901
):
902
902
# Use-case: user 1 opens a shared project, user 2 tries to open it as well
903
903
mock_project_state_updated_handler = mocker .Mock ()
Original file line number Diff line number Diff line change 3
3
# pylint:disable=redefined-outer-name
4
4
# pylint:disable=too-many-arguments
5
5
import asyncio
6
- import unittest .mock as mock
7
6
import uuid as uuidlib
8
7
from copy import deepcopy
9
8
from math import ceil
12
11
13
12
import aiohttp
14
13
import pytest
15
- import socketio
16
14
from _helpers import ExpectedResponse , standard_role_response
17
15
from aiohttp import web
18
16
from aiohttp .test_utils import TestClient
@@ -68,6 +66,7 @@ def client(
68
66
postgres_db ,
69
67
mocked_director_subsystem ,
70
68
mock_orphaned_services ,
69
+ redis_client ,
71
70
):
72
71
73
72
# config app
You can’t perform that action at this time.
0 commit comments