Skip to content

Commit

Permalink
Rename test module for SimpleCSV workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonavellecuerdo committed Jan 23, 2025
1 parent cf55b15 commit 5097b39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dsc/workflows/opencourseware.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
class OpenCourseWare(Workflow):
"""Workflow for OpenCourseWare (OCW) deposits.
The deposits managed by this workflow are requested by X
and are for submission to DSpace@MIT.
The deposits managed by this workflow are requested by
Technical Services staff and are for submission to DSpace@MIT.
"""

workflow_name: str = "opencourseware"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from unittest.mock import patch


def test_simple_csv_workflow_item_metadata_iter_success(
def test_workflow_simple_csv_item_metadata_iter_success(
simple_csv_workflow_instance, mocked_s3_simple_csv, item_metadata
):
metadata_iter = simple_csv_workflow_instance.item_metadata_iter(
Expand All @@ -10,7 +10,7 @@ def test_simple_csv_workflow_item_metadata_iter_success(
assert next(metadata_iter) == item_metadata


def test_simple_csv_workflow_get_item_identifier_success(
def test_workflow_simple_csv_get_item_identifier_success(
simple_csv_workflow_instance, item_metadata
):
assert simple_csv_workflow_instance.get_item_identifier(item_metadata) == "123"
Expand Down

0 comments on commit 5097b39

Please sign in to comment.