Skip to content

Commit

Permalink
Fix a false positive in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
lingyielia committed Jul 30, 2024
1 parent 77fc1ac commit 60f7892
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions vizro-ai/tests/integration/test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@ def test_chart_with_explanation():
assert_that(
resp.business_insights,
any_of(
contains_string("GDP per capita in the United States"),
contains_string("GDP in the United States"),
contains_string("GDP in the US"),
contains_string("GDP per capita"),
contains_string("GDP"),
),
)
assert_that(
resp.business_insights,
any_of(
contains_string("United States"),
contains_string("US"),
),
)
assert_that(
Expand Down

0 comments on commit 60f7892

Please sign in to comment.