Skip to content

Commit

Permalink
fix pyright check
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Mar 3, 2024
1 parent e0370f2 commit 3b9e6f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_backoffice.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import os

from backoffice import BackOffice
from backoffice.s3_structure.versions import StageNr


def test_backoffice(
backoffice: BackOffice, package_url: str, package_id: str, s3_test_folder_url: str
):
backoffice.stage(resource_id=package_id, package_url=package_url)
backoffice.test(resource_id=package_id, stage_nr=1)
backoffice.await_review(resource_id=package_id, stage_nr=1)
backoffice.publish(resource_id=package_id, stage_nr=1)
backoffice.test(resource_id=package_id, stage_nr=StageNr(1))
backoffice.await_review(resource_id=package_id, stage_nr=StageNr(1))
backoffice.publish(resource_id=package_id, stage_nr=StageNr(1))
backoffice.backup(os.environ["ZENODO_TEST_URL"])

0 comments on commit 3b9e6f2

Please sign in to comment.