Finish address offset calculation for XSY module.
This commit is contained in:
@@ -9,16 +9,17 @@ desc: Unit tests for the AuDaGe XSY module.
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
# import time
|
||||
import unittest
|
||||
from importlib import resources
|
||||
|
||||
import output
|
||||
|
||||
import assets
|
||||
from AuDaGe.formats.controlexpert.xsy import *
|
||||
|
||||
try:
|
||||
from tests import assets, output
|
||||
except ImportError: # pragma: no cover
|
||||
import assets # noqa: I001
|
||||
import output
|
||||
|
||||
|
||||
class TestXSY(unittest.TestCase):
|
||||
"""This test case tests the XSYBlock, DataBlock, and Definitions classes in
|
||||
@@ -76,7 +77,9 @@ class TestXSYReader(unittest.TestCase):
|
||||
index=False,
|
||||
)
|
||||
debug = False
|
||||
for debug_step in XSY.DebugStep if debug else [XSY.DebugStep.NONE]:
|
||||
for debug_step in (
|
||||
XSY.DebugStep if debug else [XSY.DebugStep.COMPLETE]
|
||||
):
|
||||
xsy.expand_datablock(debug_step=debug_step).to_csv(
|
||||
self.out_path.joinpath(
|
||||
f"{file_name}_debug_{debug_step.name}.csv"
|
||||
|
||||
Reference in New Issue
Block a user