Set up tests for XSY parser.
This commit is contained in:
9
tests/test_xsy.py
Normal file
9
tests/test_xsy.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from pandas import DataFrame
|
||||
from AuDaGe.formats.controlexpert.xsy import XSY
|
||||
|
||||
def test_init():
|
||||
assert isinstance(XSY("tests/data/hsps.xsy"), XSY)
|
||||
|
||||
def test_read_datablock():
|
||||
xsy = XSY("tests/data/hsps.xsy")
|
||||
assert isinstance(xsy.read_datablock(), DataFrame)
|
||||
@@ -1,3 +0,0 @@
|
||||
from AuDaGe.formats.controlexpert.xsy import XSY
|
||||
|
||||
print(XSY("hsps.xsy"))
|
||||
Reference in New Issue
Block a user