Skip to content

Commit

Permalink
Python log and format fix
Browse files Browse the repository at this point in the history
Signed-off-by: Shruti Sanadhya <ssanadhya@fb.com>
  • Loading branch information
ssanadhya committed Mar 11, 2022
1 parent 7cd40ea commit 60b3f5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions lte/gateway/python/integ_tests/s1aptests/s1ap_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,10 @@ def _verify_dl_flow(self, dl_flow_rules=None):
},
},
)
print ("Created ", len(total_dl_ovs_flows_created),
"Expected ", total_num_dl_flows_to_be_verified)
print(
"OVS DL flows created ", len(total_dl_ovs_flows_created),
"expected ", total_num_dl_flows_to_be_verified,
)
assert (
len(total_dl_ovs_flows_created)
== total_num_dl_flows_to_be_verified
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@ def test_attach_detach_maxbearers_twopdns(self):
" PDN",
)

uniq_port_idx = pdn_count*100 + idx*num_flows_per_bearer
uniq_port_idx = pdn_count * 100 + idx * num_flows_per_bearer

flow_lists2.append(
self._spgw_util.create_default_ipv4_flows(
port_idx=uniq_port_idx),
port_idx=uniq_port_idx,
),
)
self._spgw_util.create_bearer(
"IMSI" + "".join([str(i) for i in req.imsi]),
Expand Down

0 comments on commit 60b3f5c

Please sign in to comment.