Skip to content
Snippets Groups Projects
Commit de08f958 authored by Joseph Ramsay's avatar Joseph Ramsay
Browse files

Re #21252 Move suffix testing to system test

The changes to make suffix more general mean that it can't be tested from
POLARIS unit tests any more, so a suffix has been added to the POLARIS
unit test as well
parent 8fe6fa31
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ def run_focus():
inst_object = setup_inst_object(mode="PDF")
return inst_object.focus(run_number=run_number, input_mode="Individual", do_van_normalisation=True,
do_absorb_corrections=False, sample_empty=sample_empty,
do_absorb_corrections=False, sample_empty=sample_empty, suffix="-suf",
sample_empty_scale=sample_empty_scale)
......
......@@ -194,10 +194,6 @@ class ISISPowderInstrumentSettingsTest(unittest.TestCase):
self.assertEqual(opt_inst_obj.script_facing_name, optional_value)
def test_POLARIS_name_suffix(self):
pol = Polaris(user_name="test", calibration_directory="", output_directory="", suffix="-suf")
self.assertEquals(pol._generate_output_file_name("123"), "POL123-suf")
class SampleEnum(object):
enum_friendly_name = "test_enum_name"
......
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