def runTest(self): # Arrange base_name = "processed_histo" filename = create_file_name(base_name) ws = CreateSampleWorkspace() SaveNexusProcessed(InputWorkspace=ws, Filename=filename) # Act can_load = can_load_as_event_workspace(filename) # Assert if not can_load: self._success = True else: self._success = False # Clean up remove_temporary_file(filename) clean_up_workspaces()
def runTest(self): # Arrange base_name = "processed_histo" filename = create_file_name(base_name) ws = CreateSampleWorkspace() SaveNexusProcessed(InputWorkspace=ws, Filename = filename) # Act can_load = can_load_as_event_workspace(filename) # Assert if not can_load: self._success = True else: self._success = False # Clean up remove_temporary_file(filename) clean_up_workspaces()