Skip to content

Commit

Permalink
Add default env vars for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
carmelp16 committed Mar 22, 2023
1 parent 55f4ce6 commit 24de02f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,11 @@ markers =

filterwarnings =
ignore:.*SQLALCHEMY_POOL_RECYCLE.*:DeprecationWarning
ignore:.*collections.abc.*:DeprecationWarning
ignore:.*collections.abc.*:DeprecationWarning

env =
D:FACEBOOK_KEY=sheker_facebook_key
D:FACEBOOK_SECRET=sheker_facebook_secret
D:GOOGLE_LOGIN_CLIENT_ID=fake_client_id
D:GOOGLE_LOGIN_CLIENT_SECRET=fake_client_secret
D:APP_SECRET_KEY=fake_secret_key
3 changes: 2 additions & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ urlobject
pytest-selenium
jsonschema
mock
factory_boy
factory_boy
pytest-env==0.8.1

0 comments on commit 24de02f

Please sign in to comment.