Skip to content

Commit

Permalink
re #6669 syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed May 16, 2013
1 parent 4186269 commit 0d33471
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class LoadLogPropertyTableTest(unittest.TestCase):

def test_LoadValidFilesComments(self):
def test_LoadValidFilesComments(self):
""" Test to load valid files that are all present
"""
autoTestDir="../../../../../Test/AutoTestData/"
Expand All @@ -20,7 +20,7 @@ def test_LoadValidFilesComments(self):

self.assertTrue(alg_test.isExecuted())

Verify some values
#Verify some values
tablews = AnalysisDataService.retrieve(outputWorskapceName)
self.assertEqual(6, tablews.rowCount())
self.assertEqual(2, tablews.columnCount())
Expand All @@ -30,12 +30,11 @@ def test_LoadValidFilesComments(self):
self.assertEqual("15194", print output.cell(5,0))

run_algorithm("DeleteWorkspace", Workspace = outputWorskapceName)


return

def test_LoadPartiallyValidFilesLogValues(self):
""" Test to load valid files that are all present
def test_LoadPartiallyValidFilesLogValues(self):
""" Test to load files that are partially present
"""
autoTestDir="../../../../../Test/AutoTestData/"
outputWorskapceName = "LoadLogPropertyTableTest_Test2"
Expand All @@ -45,7 +44,7 @@ def test_LoadPartiallyValidFilesLogValues(self):

self.assertTrue(alg_test.isExecuted())

Verify some values
#Verify some values
tablews = AnalysisDataService.retrieve(outputWorskapceName)
self.assertEqual(2, tablews.rowCount())
self.assertEqual(2, tablews.columnCount())
Expand All @@ -56,7 +55,6 @@ def test_LoadPartiallyValidFilesLogValues(self):
self.assertEqual("7.32055", print output.cell(1,1))

run_algorithm("DeleteWorkspace", Workspace = outputWorskapceName)


return

Expand Down

0 comments on commit 0d33471

Please sign in to comment.