Skip to content

Commit

Permalink
chg: Use tests from PyVulnerabilityLookup
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jul 31, 2024
1 parent aee3706 commit a51a144
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:

- name: Run API tests
run: |
poetry run pip install -e PyVulnerabilityLookup/
cp config/website.py.sample config/website.py
poetry run flask --app website.app db_init
poetry run flask --app website.app db stamp head
Expand All @@ -105,7 +106,8 @@ jobs:
poetry run start_website &
sleep 30
poetry run pytest tests/test_web.py
export INSTANCE_URL="http://127.0.0.1:10001"
poetry run pytest PyVulnerabilityLookup/tests/test_web.py
poetry run stop
Expand Down

0 comments on commit a51a144

Please sign in to comment.