Skip to content

Commit

Permalink
fix test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjoyo committed Jan 16, 2024
1 parent 4370ea0 commit 1ce4029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Run pytest
working-directory: tests
run: poetry run pytest
4 changes: 2 additions & 2 deletions tests/test.py → tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def deploy(zeebe_test_client: ZeebeTestClient):
zeebe_test_client.deploy_process("test.bpmn")


def test(zeebe_test_client: ZeebeTestClient):
def test_happy_path(zeebe_test_client: ZeebeTestClient):
# given
variables = {
"var": "A"
Expand All @@ -23,7 +23,7 @@ def test(zeebe_test_client: ZeebeTestClient):

# -> complete Task A
zeebe_test_client.complete_task("taskA")

assert_that(process_instance).is_waiting_at_elements("TaskC")

# -> complete Task C
Expand Down

0 comments on commit 1ce4029

Please sign in to comment.