File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 11import pytest
2+ from faker import Faker
23from flask import Flask
34from flask .testing import FlaskClient
45
@@ -13,3 +14,8 @@ def app() -> Flask:
1314@pytest .fixture (scope = "session" )
1415def client (app ) -> FlaskClient :
1516 return app .test_client ()
17+
18+
19+ @pytest .fixture (scope = "session" )
20+ def faker () -> Faker :
21+ return Faker ("en_UK" )
Original file line number Diff line number Diff line change 3030AWS_REGION = "eu-west-1"
3131
3232
33- @pytest .fixture (scope = "session" )
34- def faker () -> Faker :
35- return Faker ("en_UK" )
36-
37-
3833@pytest .fixture (scope = "session" )
3934def localstack (request : pytest .FixtureRequest ) -> URL :
4035 if url := os .getenv ("RUNNING_LOCALSTACK_URL" , None ):
Original file line number Diff line number Diff line change 1616from tests .fixtures .matchers .eligibility import is_condition , is_eligibility_status
1717
1818
19- @pytest .fixture (scope = "session" )
20- def faker () -> Faker :
21- return Faker ("en_UK" )
22-
23-
2419def test_eligibility_service_returns_from_repo ():
2520 # Given
2621 person_repo = MagicMock (spec = PersonRepo )
You can’t perform that action at this time.
0 commit comments