Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samadpls committed Jul 14, 2024
1 parent 9e4b75e commit 379f2b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- name: Run Pytest
run: |
pytest
python3 -m pytest image_cipher/tests/test_cipher.py
2 changes: 1 addition & 1 deletion image_cipher/tests/test_cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ def test_decode_with_incorrect_key(self, image_path, encryption_key):
encoded_path = cipher.encode(image_path, message, encrypt=True)
incorrect_key = Fernet.generate_key()
with pytest.raises(ValueError, match="The provided key is incorrect."):
cipher.decode(encoded_path, incorrect_key)
cipher.decode(encoded_path, incorrect_key)

0 comments on commit 379f2b8

Please sign in to comment.