Skip to content

Commit 6ee6e76

Browse files
committed
Braces
1 parent 22c745b commit 6ee6e76

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

test/test_restapi.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ def test_post_vrouter_default(self, setup_restapi_client):
267267
b'vni': b'2001',
268268
b'guid': b'Vnet-default-v4',
269269
b'scope': b'default'
270-
}
270+
}
271+
271272
def test_post_vrouter_v6_default(self, setup_restapi_client):
272273
_, _, configdb, restapi_client = setup_restapi_client
273274
restapi_client.post_generic_vxlan_v6_tunnel()
@@ -282,7 +283,8 @@ def test_post_vrouter_v6_default(self, setup_restapi_client):
282283
b'vni': b'2001',
283284
b'guid': b'Vnet-default',
284285
b'scope': b'default'
285-
}
286+
}
287+
286288
def test_post_vrouter_v4_v6_default(self, setup_restapi_client):
287289
_, _, configdb, restapi_client = setup_restapi_client
288290
restapi_client.post_generic_vxlan_tunnel()
@@ -298,18 +300,20 @@ def test_post_vrouter_v4_v6_default(self, setup_restapi_client):
298300
b'vni': b'2001',
299301
b'guid': b'Vnet-default',
300302
b'scope': b'default'
301-
302-
assert r.status_code == 204
303+
}
303304

304305
r = restapi_client.post_config_vrouter_vrf_id("Vnet-default-v4", {
305306
'vnid': 2001
306307
})
308+
assert r.status_code == 204
309+
307310
vrouter_table = configdb.hgetall(VNET_TB + '|' + VNET_NAME_PREF + '2')
308311
assert vrouter_table == {
309312
b'vxlan_tunnel': b'default_vxlan_tunnel_v4',
310313
b'vni': b'2001',
311314
b'guid': b'Vnet-default-v4',
312315
b'scope': b'default'
316+
}
313317

314318
def test_get_vrouter(self, setup_restapi_client):
315319
_, _, _, restapi_client = setup_restapi_client

0 commit comments

Comments
 (0)