Skip to content

Commit f906018

Browse files
author
patrick
committed
remove unused files
1 parent 95d13e8 commit f906018

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

tests/test_exceltools.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

tests/test_models.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from model_for_test import DemoModel, DemoModelAlias, DemoUnit, UnitInfo
22
from qpystructs import models, operations
33
from qpystructs.operations import DataFormatType
4+
import qpystructs as sr
45

56

67
def test_modelize_camel_naming():
@@ -18,10 +19,10 @@ def test_modelize_alias_naming():
1819
def test_parse_as():
1920
result = DemoModelAlias.parse_file("./structured-data/camel-alias.json")
2021
json_str = result.model_dump_json(by_alias=True)
21-
obj_model = models.parse_as(json_str, DemoModelAlias)
22+
obj_model = sr.parse_as(json_str, DemoModelAlias)
2223
dict_obj = result.to_dict(by_alias=True)
2324
print(obj_model)
24-
dict_model = models.parse_as(dict_obj, DemoModelAlias)
25+
dict_model = sr.parse_as(dict_obj, DemoModelAlias)
2526
assert dict_model.key == "v1"
2627

2728

tests/test_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import qpystructs
22
from data_constants import more_dict, more_json_dict
3-
from qpystructs import operations
43

54

65
def test_get_value_by_expression():
@@ -23,6 +22,7 @@ def test_set_value_by_express_json():
2322
result = qpystructs.get_value(result, "characters.Lonestar")
2423
assert result == {}
2524

25+
2626
def test_differ():
2727
result = qpystructs.differ(more_dict, more_json_dict)
2828
print(result)

0 commit comments

Comments
 (0)