We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f49cf6 commit 71ef5c4Copy full SHA for 71ef5c4
tests/mock_data.py
@@ -124,14 +124,8 @@
124
125
TESTDATA = pathlib.Path("tests/testdata")
126
127
-PRODUCTS = {
128
- file.name: json.load(file.open())
129
- for file in TESTDATA.glob("home_data_product_*.json")
130
-}
131
-DEVICES = {
132
133
- for file in TESTDATA.glob("home_data_device_*.json")
134
+PRODUCTS = {file.name: json.load(file.open()) for file in TESTDATA.glob("home_data_product_*.json")}
+DEVICES = {file.name: json.load(file.open()) for file in TESTDATA.glob("home_data_device_*.json")}
135
136
# Products
137
A27_PRODUCT_DATA = PRODUCTS["home_data_product_a27.json"]
0 commit comments