We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88cdbe9 commit 9a03e8bCopy full SHA for 9a03e8b
1 file changed
server/tests/test_signup.py
@@ -8,7 +8,7 @@
8
9
class MockPreferences:
10
def db_initialise_preferences(self, username):
11
- print("Mocking preferences class for signup to instantiate properly")
+ print(f"Mocking preferences")
12
13
@pytest.fixture
14
def test_app():
@@ -19,8 +19,7 @@ def test_app():
19
app = FastAPI()
20
logger = logging.getLogger("test_logger")
21
mock_preferences = MockPreferences()
22
- signup = Signup(api=app, logger=logger,
23
- preferences_logic=mock_preferences) # noqa: F841
+ signup = Signup(api=app, logger=logger, preferences_logic=mock_preferences) # noqa: F841
24
return TestClient(app)
25
26
0 commit comments