Skip to content
Snippets Groups Projects
Commit b66b7605 authored by David Verelst's avatar David Verelst
Browse files

[WIP] prepost.dlcdefs: fix path in test data

parent 4221c523
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -422,14 +422,14 @@ class Tests(unittest.TestCase): ...@@ -422,14 +422,14 @@ class Tests(unittest.TestCase):
""" """
def setUp(self): def setUp(self):
self.fpath = 'data/DLCs' self.fpath = os.path.join(os.path.dirname(__file__), 'data/DLCs')
def test_read_tag_exchange_file(self): def test_read_tag_exchange_file(self):
df_list = misc.read_excel_files(self.fpath, fext='xlsx', pignore=None, df_list = misc.read_excel_files(self.fpath, fext='xlsx', pignore=None,
sheet=0, pinclude=None) sheet=0, pinclude=None)
df = df_list[list(df_list.keys())[0]] # df = df_list[list(df_list.keys())[0]]
# df.fillna('', inplace=True) # df.fillna('', inplace=True)
# df.replace(';', False, inplace=True) # df.replace(';', False, inplace=True)
...@@ -440,4 +440,3 @@ class Tests(unittest.TestCase): ...@@ -440,4 +440,3 @@ class Tests(unittest.TestCase):
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment