From 95f85241d5fc6ac972c9766f365afb795bc89fa3 Mon Sep 17 00:00:00 2001 From: breblanc Date: Fri, 31 Jan 2025 13:13:11 +0100 Subject: [PATCH] Small cleanup --- tests/test_dsl_yaml.py | 12 ++---------- tests/test_preprocess_dsl.py | 9 +++++++-- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/tests/test_dsl_yaml.py b/tests/test_dsl_yaml.py index 5212567f..3d60b58c 100644 --- a/tests/test_dsl_yaml.py +++ b/tests/test_dsl_yaml.py @@ -20,14 +20,8 @@ StringTypes, ) from tested.dsl import parse_dsl, translate_to_test_suite -from tested.dsl.translate_parser import _parse_yaml, load_schema_validator -from tested.nat_translation import ( - convert_to_yaml, - create_enviroment, - parse_value, - translate_dsl, - validate_pre_dsl, -) +from tested.dsl.translate_parser import load_schema_validator + from tested.serialisation import ( FunctionCall, NumberType, @@ -1326,5 +1320,3 @@ def test_editor_json_schema_is_valid(): validator = load_schema_validator("schema.json") assert isinstance(validator.schema, dict) validator.check_schema(validator.schema) - - diff --git a/tests/test_preprocess_dsl.py b/tests/test_preprocess_dsl.py index efd684d2..a6cd8501 100644 --- a/tests/test_preprocess_dsl.py +++ b/tests/test_preprocess_dsl.py @@ -1,6 +1,11 @@ from tested.dsl.translate_parser import _parse_yaml -from tested.nat_translation import validate_pre_dsl, translate_dsl, convert_to_yaml, \ - create_enviroment, parse_value +from tested.nat_translation import ( + convert_to_yaml, + create_enviroment, + parse_value, + translate_dsl, + validate_pre_dsl, +) def test_natural_translate_unit_test():