mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-03 13:31:26 +08:00
refactor: format code with black
This commit is contained in:
@@ -2,7 +2,7 @@ def check_search_area_result(content, expect_name):
|
||||
print(content, expect_name)
|
||||
found = False
|
||||
for item in content:
|
||||
if item['fullName'] == expect_name:
|
||||
if item["fullName"] == expect_name:
|
||||
found = True
|
||||
break
|
||||
assert found
|
||||
@@ -11,8 +11,12 @@ def check_search_area_result(content, expect_name):
|
||||
def exists_default_group(content, expect):
|
||||
found = False
|
||||
for item in content:
|
||||
if item['defaultGroup']:
|
||||
print('defaultGroup found, id={}, parentAreaId={}'.format(item['id'], item['parentAreaId']))
|
||||
if item["defaultGroup"]:
|
||||
print(
|
||||
"defaultGroup found, id={}, parentAreaId={}".format(
|
||||
item["id"], item["parentAreaId"]
|
||||
)
|
||||
)
|
||||
found = True
|
||||
break
|
||||
assert found
|
||||
|
||||
Reference in New Issue
Block a user