Skip to content

Commit

Permalink
Small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BrentBlanckaert committed Jan 31, 2025
1 parent e6e548c commit 95f8524
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
12 changes: 2 additions & 10 deletions tests/test_dsl_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)


9 changes: 7 additions & 2 deletions tests/test_preprocess_dsl.py
Original file line number Diff line number Diff line change
@@ -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():
Expand Down

0 comments on commit 95f8524

Please sign in to comment.