Skip to content
Snippets Groups Projects
Commit 86fc7f3c authored by mads's avatar mads
Browse files

fix test error

parent d380d5d8
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -12,9 +12,11 @@ class Test(unittest.TestCase):
def testUnix_filename(self):
print (unix_filename(os.path.dirname(__file__) + r"../../../..\windenergytoolbox/wetb/HAWC2/hawc2io.py"))
ufn = "WindEnergyToolbox/wetb/hawc2/Hawc2io.py"
f = os.path.join(os.path.dirname(__file__), r"../../../..\windenergytoolbox/wetb/HAWC2/hawc2io.py")
self.assertEqual(unix_filename(f)[-len(ufn):], ufn)
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testUnix_filename']
unittest.main()
\ No newline at end of file
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