Skip to content

Commit

Permalink
Testing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMLang committed Apr 7, 2024
1 parent 197a13c commit e299d93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Install dependencies
run: |
pip install validators
- name: Run tests
run: |
python -m unittest discover -s tests
Expand Down
4 changes: 2 additions & 2 deletions tests/test_pytector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from pytector import PromptInjectionDetector

import validators
import pytector
class TestPromptInjectionDetector(unittest.TestCase):

def test_initialization_with_predefined_model(self):
Expand Down

0 comments on commit e299d93

Please sign in to comment.