Skip to content

Commit 0e93784

Browse files
committed
fix formatting
Signed-off-by: Chris Snow <[email protected]>
1 parent 09284a5 commit 0e93784

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

tests/library/catalog_test.py

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,10 @@ def test_get_catalog(self, mock_get, mock_post):
157157
"name": "Feed generated from local bundles.",
158158
},
159159
{
160-
"href": "https://s3.amazonaws.com/bluedata-catalog/bundles/catalog/external/docker/EPIC-5.0/feeds/feed.json",
160+
"href": (
161+
"https://s3.amazonaws.com/bluedata-catalog/bundles/"
162+
"catalog/external/docker/EPIC-5.0/feeds/feed.json"
163+
),
161164
"name": "BlueData EPIC-5.0 catalog feed for docker",
162165
},
163166
],
@@ -173,28 +176,43 @@ def test_get_catalog(self, mock_get, mock_post):
173176
"self": {"href": "/api/v1/catalog/29"},
174177
"feed": [
175178
{
176-
"href": "https://s3.amazonaws.com/bluedata-catalog/bundles/catalog/external/docker/EPIC-5.0/feeds/feed.json",
177-
"name": "BlueData EPIC-5.0 catalog feed for docker",
179+
"href": (
180+
"https://s3.amazonaws.com/bluedata-catalog/"
181+
"bundles/catalog/external/docker/EPIC-5.0/"
182+
"feeds/feed.json"
183+
),
184+
"name": (
185+
"BlueData EPIC-5.0 catalog feed for docker"
186+
),
178187
}
179188
],
180189
},
181190
"distro_id": "bluedata/spark240juphub7xssl",
182191
"label": {
183192
"name": "Spark240",
184-
"description": "Spark240 multirole with Jupyter Notebook, Jupyterhub with SSL and gateway node",
193+
"description": (
194+
"Spark240 multirole with Jupyter Notebook, Jupyterhub"
195+
" with SSL and gateway node"
196+
),
185197
},
186198
"version": "2.8",
187199
"timestamp": 0,
188200
"isdebug": False,
189201
"osclass": ["centos"],
190202
"logo": {
191203
"checksum": "1471eb59356066ed4a06130566764ea6",
192-
"url": "http://10.1.0.53/catalog/logos/bluedata-spark240juphub7xssl-2.8",
204+
"url": (
205+
"http://10.1.0.53/catalog/logos/"
206+
"bluedata-spark240juphub7xssl-2.8"
207+
),
193208
},
194209
"documentation": {
195210
"checksum": "52f53f1b2845463b9e370d17fb80bea6",
196211
"mimetype": "text/markdown",
197-
"file": "/opt/bluedata/catalog/documentation/bluedata-spark240juphub7xssl-2.8",
212+
"file": (
213+
"/opt/bluedata/catalog/documentation/"
214+
"bluedata-spark240juphub7xssl-2.8"
215+
),
198216
},
199217
"state": "initialized",
200218
"state_info": "",
@@ -263,4 +281,3 @@ def test_cli(self, mock_post, mock_get):
263281
hpecp.catalog.list()
264282

265283
self.assertTrue(True)
266-

0 commit comments

Comments
 (0)