Skip to content

Commit

Permalink
adds stdout assertions to acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosCoelhoSL committed Jan 3, 2025
1 parent 7befcca commit f2a7833
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/acceptance/test_add_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,16 @@ def test_cli_add_data_consecutive_runs(
],
)
assert result.exit_code == 0
# Check summaries are in stdout
assert "Endpoint and source details" in result.stdout
assert "Run pipeline" in result.stdout
assert "Column Field Summary" in result.stdout
assert "Issue Summary" in result.stdout
assert "Entity Summary" in result.stdout

# Check entity assigning has worked
assert "Total number of new entities: 1" in result.stdout
assert "No new entities in resource" in result.stdout


def test_cli_add_data_pipeline_fail(
Expand Down

0 comments on commit f2a7833

Please sign in to comment.