Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISIS specific indirect tests should work with any facility set #239

Merged
merged 1 commit into from
Feb 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions Code/Mantid/scripts/test/IndirectApplyCorrectionsTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def _decorator(self, *args, **kwargs):
class ApplyCorrectionsTests(unittest.TestCase):

def setUp(self):
self._config_defaults = config
config['default.facility'] = 'ISIS'

self._sample_workspace = self.make_sample_workspace()
self._can_workspace = ''
self._corrections_workspace = ''
Expand All @@ -49,6 +52,8 @@ def tearDown(self):
mtd.clear()
self.clean_up_saved_workspaces()

config = self._config_defaults

@setup_can_test
def test_with_can_workspace(self):
output_workspaces = self.run_apply_corrections()
Expand Down
1 change: 1 addition & 0 deletions Code/Mantid/scripts/test/IndirectCommonTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class IndirectCommonTests(unittest.TestCase):

def setUp(self):
self._config_defaults = config
config['default.facility'] = 'ISIS'

def tearDown(self):
config = self._config_defaults
Expand Down