Use a relative path instead of a symlink so that the unit test works on windows

This commit is contained in:
Dominik
2015-01-18 18:48:56 +01:00
parent 482df53e4c
commit 0b52e4a184
2 changed files with 1 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ class TestNPACardGenerator(ISO7816GeneratorTest):
def test_readDatagroups(self):
path = os.path.dirname(__file__)
datagroupsFile = path + "/Example_Dataset_Mueller_Gertrud.txt"
datagroupsFile = path + "/../../../../npa-example-data/Example_Dataset_Mueller_Gertrud.txt"
self.card_generator.readDatagroups(datagroupsFile)
mf, sam = self.card_generator.getCard()
self.assertIsNotNone(mf)

View File

@@ -1 +0,0 @@
../../../../npa-example-data/Example_Dataset_Mueller_Gertrud.txt