1
0
mirror of https://github.com/240596448/onec_codetemplate_parser.git synced 2025-11-29 05:36:45 +02:00

комментарии, исправления

This commit is contained in:
Vladimir Nadulich
2025-10-30 11:38:06 +03:00
parent e9aa3f257f
commit d2487b46db
4 changed files with 12 additions and 9 deletions

View File

@@ -7,12 +7,12 @@ class Test_Read_Skobkofile:
assert test_file_path.exists()
def test_01_parse_eq_compile(self, test_data):
root = core.parse_skobkofile(test_data)
root = core.parser(test_data)
new_data = root.compile()
assert new_data == test_data
def test_02_save_and_read(self, test_data, tmp_path):
root = core.parse_skobkofile(test_data)
root = core.parser(test_data)
new_data = root.compile()
tmp_file = tmp_path / 'tmp.st'
@@ -24,7 +24,7 @@ class Test_Read_Skobkofile:
class Test_Write_To_Files:
def test_00_to_file(self, test_data, temp_src):
root = core.parse_skobkofile(test_data)
root = core.parser(test_data)
root.to_files(temp_src)
def test_01_to_files(self, temp_src):