mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 17:00:46 +00:00
Updated tests
This commit is contained in:
@@ -7,7 +7,9 @@ class TestRobinHood6(unittest.TestCase):
|
||||
path = os.path.dirname(__file__) + '/../export_cases/Robin Hood Spotting6.txt'
|
||||
|
||||
def test_a_track(self):
|
||||
session = parse_document(self.path)
|
||||
with open(self.path, "r") as file:
|
||||
session = parse_document(file.read())
|
||||
|
||||
|
||||
marian_track = session.tracks[6]
|
||||
self.assertEqual(marian_track.name, 'Marian')
|
||||
|
||||
Reference in New Issue
Block a user