Skip to content
Snippets Groups Projects
Commit 099f6052 authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

dlc highlevel support for flex

parent 3c6e8274
No related branches found
No related tags found
1 merge request!28Merge of dlc_highlevel_support_for_flex to master
Pipeline #
This commit is part of merge request !28. Comments created here will be created in the context of that merge request.
......@@ -57,9 +57,10 @@ class TestDLCHighLevel(unittest.TestCase):
self.assertAlmostEqual(h, 0.0087201928 * 1 * (50 / 1100) * 20 * 365 * 24)
def test_file_dict_flex(self):
dlc_hl = DLCHighLevel(testfilepath + 'DLC_test_flex.xlsx')
self.assertEqual(dlc_hl.files_dict()[12][4][350]['files'], ['C:/mmpe/programming/python/WindEnergyToolbox/wetb/dlc/tests\\test_files\\res\\dlc12_iec61400-1ed3\\dlc12_wsp04_wdir350_s3001.int'])
file_lst = dlc_hl.files_dict()[12][4][350]["files"]
self.assertEqual(len(file_lst),1)
self.assertTrue(file_lst[0].endswith(".int"))
def test_dlc_lst(self):
......
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