Skip to content

Commit

Permalink
refs #5532. remove tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jun 22, 2012
1 parent a947b64 commit f381a87
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Code/Mantid/Framework/PythonInterface/test/python/Stitch1DTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,23 +198,7 @@ def test_end_overlap_too_high(self):
passed = True
finally:
self.assertTrue(passed)

def test_end_overlap_equal_to_start_overlap_throws(self):
passed = False
#alg = run_algorithm("Stitch1D", Workspace1=self.__good_workspace_name, Workspace2=self.__good_workspace_name,OutputWorkspace='converted',StartOverlap=0,EndOverlap=0,child=True)
try:
alg = run_algorithm("Stitch1D", Workspace1=self.__good_workspace_name, Workspace2=self.__good_workspace_name,OutputWorkspace='converted',StartOverlap=0,EndOverlap=0,child=True)
except RuntimeError:
passed = True
finally:
self.assertTrue(passed)


# Algorithm isn't complete at this point, but we need to have one success case to verify that all the previous failure cases are genuine failures (i.e. there is a way to get the algorithm to run properly)
def test_does_something(self):
alg = run_algorithm("Stitch1D", Workspace1=self.__good_workspace_name, Workspace2=self.__good_workspace_name,OutputWorkspace='converted',StartOverlap=0,EndOverlap=0.3)
self.assertTrue(isinstance(mtd['converted'], IMDHistoWorkspace))
mtd.remove('converted')



Expand Down

0 comments on commit f381a87

Please sign in to comment.