Skip to content

Commit c76a790

Browse files
author
patrick
committed
update tests
1 parent 42ac753 commit c76a790

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

tests/json-flat.xlsx

1 Byte
Binary file not shown.

tests/test_operations.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,11 @@ def test_flat_json():
6666
)
6767
print(result)
6868
result.to_excel("json-flat.xlsx")
69-
7069
json_data = load_from_file("tmp.json")
7170
print(json_data)
72-
result_json_np = pd.json_normalize(json_data,)
73-
formula_data = json_data['formula']
74-
pd_formula_data = pd.json_normalize(formula_data,'formulaSlots')
75-
pd_formula_data.to_excel('emission-json.xlsx')
7671

7772

7873
def test_merged_cell():
79-
json_file_to_excel("tmp.json",'tmp-json.xlsx')
74+
json_file_to_excel("tmp.json", 'tmp-json.xlsx')
8075
result = read_merged_excel("merged_cell.xlsx")
81-
print(result)
76+
print(result)

tests/tmp-json.xlsx

1 Byte
Binary file not shown.

tests/tmp.xlsx

5.01 KB
Binary file not shown.

0 commit comments

Comments
 (0)