Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroPasotti committed Jun 18, 2024
1 parent 2067361 commit a087832
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ async def test_verify_traces_http(ops_test: OpsTest):

found = False
for trace in traces:
if trace["rootServiceName"] == APP_NAME + "-charm" and trace["rootTraceName"] == "charm exec":
if (
trace["rootServiceName"] == APP_NAME + "-charm"
and trace["rootTraceName"] == "charm exec"
):
found = True

assert found, f"There's no trace of charm exec traces in tempo. {json.dumps(traces, indent=2)}"
Expand Down

0 comments on commit a087832

Please sign in to comment.