protectai / rebuff

LLM Prompt Injection Detector
https://playground.rebuff.ai
Apache License 2.0
1.09k stars 78 forks source link

Fix python tests #102

Closed ristomcgehee closed 8 months ago

ristomcgehee commented 8 months ago

Currently the Python tests are failing on the main branch (e.g., this run) and recently updated PRs. This is due to the NPM dependencies not being installed when the python tests try to start the server.

Note that the Python tests are failing on this PR due to the way pull_request_target works. It's using the version of python-tests.yaml from the main branch which is not installing the NPM dependencies.