Use a relative path instead of a symlink so that the unit test works on windows
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../../../../npa-example-data/Example_Dataset_Mueller_Gertrud.txt
|
||||
Reference in New Issue
Block a user