Skip to content

Commit

Permalink
Fix the linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhwaniartefact committed Oct 18, 2024
1 parent 8518312 commit 0d86364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_fixity.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

from fixity import fixity
from fixity import reporting
from fixity import storage_service
from fixity.models import Report
from fixity.models import Session
from fixity.storage_service import StorageServiceError

SESSION = Session()
STORAGE_SERVICE_URL = "http://localhost:8000/"
Expand Down Expand Up @@ -651,7 +651,7 @@ def test_main_handles_exception_if_environment_key_is_missing(


@mock.patch("requests.get")
def test_scanall_handles_exception_if_storage_serrvice_is_not_connected(
def test_scanall_handles_exception_if_storage_service_is_not_connected(
_get: mock.Mock, monkeypatch: pytest.MonkeyPatch
) -> None:
monkeypatch.setenv("STORAGE_SERVICE_URL", STORAGE_SERVICE_URL)
Expand Down Expand Up @@ -687,6 +687,6 @@ def test_scanall_handles_exception_if_storage_serrvice_is_not_connected(

fixity.main(["scanall"], stream=stream)

assert StorageServiceError(
assert storage_service.StorageServiceError( # type: ignore
f'Storage service at "{STORAGE_SERVICE_URL}" failed authentication while requesting AIPs'
)

0 comments on commit 0d86364

Please sign in to comment.