Skip to content

Commit

Permalink
Fixup Cirrus tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jhugman committed Nov 9, 2023
1 parent f550584 commit 64033af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions megazords/cirrus/tests/python-tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _req(*, client_id="jeddai", request_context=request_context):
@pytest.fixture
def client(app_context, experiment):
test_metrics = TestMetricsHandler()
client = CirrusClient(app_context, test_metrics)
client = CirrusClient(app_context, test_metrics, [])
data = json.dumps({"data": [experiment]})
client.set_experiments(data)
return client
Expand Down Expand Up @@ -146,7 +146,7 @@ def cirrus_client(app_context, bucket_config):
}

test_metrics = TestMetricsHandler()
client = CirrusClient(app_context, test_metrics)
client = CirrusClient(app_context, test_metrics, [])
data = json.dumps({"data": [experiment]})
client.set_experiments(data)
return client
Expand Down
2 changes: 1 addition & 1 deletion megazords/cirrus/tests/python-tests/test_cirrus.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_failure_case_no_client_id(client, req):

def test_metrics_handler(app_context, experiment, req):
test_metrics = TestMetricsHandler()
client = CirrusClient(app_context, test_metrics)
client = CirrusClient(app_context, test_metrics, [])
data = json.dumps({"data": [experiment]})
client.set_experiments(data)

Expand Down

0 comments on commit 64033af

Please sign in to comment.