Commit f22f9427 authored by Missv4you's avatar Missv4you

3

parent c9b7fdbe
Pipeline #7025 canceled with stages
...@@ -113,9 +113,11 @@ class TestCase: ...@@ -113,9 +113,11 @@ class TestCase:
if __name__ == '__main__': if __name__ == '__main__':
demo = TestCase()
a = {'c': 'ww'} a = {'c': 'ww'}
b = {'a': 'aaa', 'b': 'bbb', 'c': {'ggg': '111'}, 'd': [{'xsd': 'tttt'}, {'rr': 'aaa'}]} b = {'a': 'aaa', 'b': 'bbb', 'c': {'ggg': '111'}, 'd': [{'xsd': 'tttt'}, {'rr': 'aaa'}]}
print(a) print(a)
print(b) print(b)
a = TestCase().assert_json(a, b) # a = TestCase().assert_json(a, b)
print(a) # aaa = demo.read_json_case(setting.json_data['json_data_path'])
# print(aaa)
...@@ -10,4 +10,4 @@ path=../logs/logs ...@@ -10,4 +10,4 @@ path=../logs/logs
name=WMS-API-TEST name=WMS-API-TEST
report_path=../report/report.html report_path=../report/report.html
[json_data] [json_data]
json_data_path=..\data\json_data\ json_data_path=../data/json_data/
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment