Skip to content

Commit

Permalink
Added unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWilkie committed Oct 18, 2023
1 parent 8b0e213 commit f08a319
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions darwin/future/tests/meta/objects/test_stagemeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,15 @@ def test_move_attached_files_to_stage(
+ f"v2/teams/default-team/items/ids?workflow_stage_ids={str(stage_meta.id)}&dataset_ids=1337",
1,
)

def test_get_stage_id(stage_meta):
assert stage_meta.id == UUID("00000000-0000-0000-0000-000000000000")

def test_get_stage_name(stage_meta):
assert stage_meta.name == "test-stage"

def test_get_stage_type(stage_meta):
assert stage_meta.type == "annotate"

def test_get_stage_edges(stage_meta):
assert stage_meta.edges == []

0 comments on commit f08a319

Please sign in to comment.