Skip to content

Commit 4b01f31

Browse files
authored
Merge pull request #22 from boegel/build_lock
sort lists before comparing them in test_toy_modaltsoftname
2 parents 697ff6e + 1b85909 commit 4b01f31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/framework/toy_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2058,7 +2058,7 @@ def test_toy_modaltsoftname(self):
20582058
self.assertTrue(os.path.exists(os.path.join(modules_path, 'yot', yot_name)))
20592059

20602060
# only subdirectories for software should be created
2061-
self.assertEqual(os.listdir(software_path), ['toy', '.locks'])
2061+
self.assertEqual(sorted(os.listdir(software_path)), sorted(['toy', '.locks']))
20622062
self.assertEqual(sorted(os.listdir(os.path.join(software_path, 'toy'))), ['0.0-one', '0.0-two'])
20632063

20642064
# only subdirectories for modules with alternative names should be created

0 commit comments

Comments
 (0)