Skip to content

Commit 1d70a4d

Browse files
committed
Add backwards compatibility check
1 parent a99b9eb commit 1d70a4d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tests/__init__.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
# For transition only...
2323
OLD_SCHEMAS_DIR = os.path.join(HOME, "v1-dev")
2424

25+
2526
def schema_properties(schema_name):
2627
"""
2728
Returns the properties for a schema
@@ -112,9 +113,10 @@ def fire_stats():
112113
"data_combinations": format(decimal.Decimal(N), ".6e"),
113114
}
114115

116+
115117
def load_jsons(filenames, location):
116-
jsons = []
117-
for filename in sorted(filenames):
118-
with open(os.path.join(location, filename)) as jsonfile:
119-
jsons.append(json.load(jsonfile))
120-
return jsons
118+
jsons = []
119+
for filename in sorted(filenames):
120+
with open(os.path.join(location, filename)) as jsonfile:
121+
jsons.append(json.load(jsonfile))
122+
return jsons

0 commit comments

Comments
 (0)