Skip to content
Snippets Groups Projects
Commit 0cd02a0c authored by Conor Finn's avatar Conor Finn
Browse files

RE #27012 Make focusing save to the file system

Creating a new focus now saves a nexus file to the file system. The old GUI saves multiple file types, but since I'm not sure what they actually use, nexus seems like a safe proof of concept for now.
parent d665388b
No related merge requests found
......@@ -90,10 +90,10 @@ class FocusModelTest(unittest.TestCase):
"North", mocked_workspace, None)
self.assertEqual(1, save.call_count)
save.assert_called_with(mocked_workspace, output_file)
save.assert_called_with(Filename=output_file, InputWorkspace=mocked_workspace)
@patch(file_path + ".SaveNexus")
def test_save_output_files_nexus_with_no_RB_number(self, save):
def test_save_output_files_nexus_with_RB_number(self, save):
self.model.save_focused_output_files_as_nexus("ENGINX", "Path/To/ENGINX000123.whatever",
"North", "mocked-workspace",
"An Experiment Number")
......
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