Updated tests

This commit is contained in:
Jamie Hardt
2023-07-21 12:44:42 -07:00
parent 58277367c5
commit 4e64edcd85
5 changed files with 34 additions and 14 deletions

View File

@@ -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')