Skip to content
Snippets Groups Projects
Commit cd20719c authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Sort notebooks in test

parent a9345b83
No related branches found
No related tags found
1 merge request!489Assorted cleanup of xfel-calibrate
...@@ -312,7 +312,7 @@ class TestIntelliList: ...@@ -312,7 +312,7 @@ class TestIntelliList:
assert len(calibrate_call.paths.notebooks) == 2 assert len(calibrate_call.paths.notebooks) == 2
for i, notebook_path in enumerate(calibrate_call.paths.notebooks): for i, notebook_path in enumerate(sorted(calibrate_call.paths.notebooks)):
with notebook_path.open() as file: with notebook_path.open() as file:
notebook = nbformat.read(file, as_version=4) notebook = nbformat.read(file, as_version=4)
......
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