diff options
Diffstat (limited to 'features/steps/export_steps.py')
-rw-r--r-- | features/steps/export_steps.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/features/steps/export_steps.py b/features/steps/export_steps.py index b7965ab8..40127ecc 100644 --- a/features/steps/export_steps.py +++ b/features/steps/export_steps.py @@ -96,6 +96,11 @@ def create_directory(context, dir_name): def assert_dir_contains_files(context, dir_name, expected_files_json_list): actual_files = os.listdir(dir_name) expected_files = json.loads(expected_files_json_list) + + # sort to deal with inconsistent default file ordering on different OS's + actual_files.sort() + expected_files.sort() + assert actual_files == expected_files, [actual_files, expected_files] |