def test_name_when_given(self):
     actual = LoadGudrunOutput(InputFile=self.file_name.format('.dcs'),
                               OutputWorkspace='actual')
     self.assertEqual(actual.name(), 'actual')
 def test_rename_with_default_output(self):
     actual = LoadGudrunOutput(InputFile=self.file_name.format('.dcs'),
                               OutputWorkspace='')
     self.assertEqual(actual.name(), 'POLARIS00097947-dcs01')