From 4bbbd3919baa15299387956abc4d93ac784b5e56 Mon Sep 17 00:00:00 2001 From: Brian Clark Date: Thu, 6 Aug 2020 12:12:53 -0400 Subject: [PATCH] Use brace instead of bracket --- google_health/tests/test_pull_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google_health/tests/test_pull_api.py b/google_health/tests/test_pull_api.py index ec6632d19..fdc4db5f1 100644 --- a/google_health/tests/test_pull_api.py +++ b/google_health/tests/test_pull_api.py @@ -36,7 +36,7 @@ def test_class_state(self): ] assert len(res["lines"][0]["points"]) == 2 - assert set([x for x in res["lines"][0]["points"][0].keys()]) == ["date", "value"] + assert set([x for x in res["lines"][0]["points"][0].keys()]) == {"date", "value"} assert res["lines"][0]["points"][0]["date"] == "May 05 2020" assert res["lines"][0]["points"][1]["date"] == "May 06 2020" @@ -55,7 +55,7 @@ def test_class_dma(self): ] assert len(res["lines"][0]["points"]) == 2 - assert set([x for x in res["lines"][0]["points"][0].keys()]) == ["date", "value"] + assert set([x for x in res["lines"][0]["points"][0].keys()]) == {"date", "value"} assert res["lines"][0]["points"][0]["date"] == "May 05 2020" assert res["lines"][0]["points"][1]["date"] == "May 06 2020"