Skip to content

Commit

Permalink
Fixing comment in one of the test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
krneta committed Jun 24, 2021
1 parent a352320 commit 6e5b248
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/unit_tests/braket/jobs/metrics/test_cwl_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,26 @@

MALFORMED_METRICS_LOG_LINES = [
{"timestamp": "Test timestamp 0", "message": ""},
{"timestamp": "Test timestamp 1", "message": "No metrics prefix metric0=2.0"},
{"timestamp": "Test timestamp 2", "message": "Metrics - metric0=not_a_number;"},
{"timestamp": "Test timestamp 3"},
{"timestamp": "Test timestamp 1", "message": "No semicolon metric0=2.0"},
{"timestamp": "Test timestamp 2", "message": "metric0=not_a_number;"},
{"timestamp": "Test timestamp 3", "message": "also not a number metric0=2 . 0;"},
{"timestamp": "Test timestamp 4"},
{"unknown": "Unknown"},
]


SIMPLE_METRICS_LOG_LINES = [
{
"timestamp": "Test timestamp 0",
"message": "Metrics - metric0=0.0; metric1=1.0; metric2=2.0;",
"message": "Metrics - metric0=0.0; metric1=1.0; metric2=2.0 ;",
},
{
"timestamp": "Test timestamp 1",
"message": "Metrics - metric0=0.1; metric1=1.1; metric2=2.1;",
"message": "Metrics - metric0=0.1; metric1=1.1; metric2= 2.1;",
},
{
"timestamp": "Test timestamp 2",
"message": "Metrics - metric0=0.2; metric1=1.2; metric2=2.2;",
"message": "Metrics - metric0=0.2; metric1=1.2; metric2= 2.2 ;",
},
{
"timestamp": "Test timestamp 3",
Expand Down

0 comments on commit 6e5b248

Please sign in to comment.