From 6bce7b87981a20251c26b49fa74bb70db63a813e Mon Sep 17 00:00:00 2001
From: Peter Peterson <petersonpf@ornl.gov>
Date: Mon, 31 Jan 2011 19:01:33 +0000
Subject: [PATCH] Removed test that is no longer valid. Refs #2281.

---
 .../PythonAPI/test/SimplePythonAPITest.h      | 39 +++++++------------
 1 file changed, 14 insertions(+), 25 deletions(-)

diff --git a/Code/Mantid/Framework/PythonAPI/test/SimplePythonAPITest.h b/Code/Mantid/Framework/PythonAPI/test/SimplePythonAPITest.h
index 1c70c54eb11..96c248f293c 100644
--- a/Code/Mantid/Framework/PythonAPI/test/SimplePythonAPITest.h
+++ b/Code/Mantid/Framework/PythonAPI/test/SimplePythonAPITest.h
@@ -84,31 +84,20 @@ public:
     if( line.find("def") == 0 ) found = true;
     TS_ASSERT_EQUALS(found, true);
 
-//    // Now a doc string
-//    getline(is, line);
-//    found = false;
-//    if( line.find("\"\"\"") != std::string::npos ) found = true;
-//    TS_ASSERT_EQUALS(found, true);
-//
-//    while( getline(is, line) )
-//    {
-//      if(line.find("\"\"\"") != std::string::npos) break;
-//    }
-//
-//    // Now the definition
-//    getline(is, line);
-//    found = false;
-//    if( line.find("createAlgorithm") != std::string::npos ) found = true;
-//    TS_ASSERT_EQUALS(found, true);
-//
-//
-//    int setprop(0);
-//    while( getline(is, line) )
-//    {
-//      if( line.find("setPropertyValue") != std::string::npos )
-//        ++setprop;
-//    }
-//    TS_ASSERT( setprop > 0 );
+    // Now the definition
+    getline(is, line);
+    found = false;
+    if( line.find("createAlgorithm") != std::string::npos ) found = true;
+    TS_ASSERT_EQUALS(found, true);
+
+
+    int setprop(0);
+    while( getline(is, line) )
+    {
+      if( line.find("setPropertyValue") != std::string::npos )
+        ++setprop;
+    }
+    TS_ASSERT( setprop > 0 );
 
     is.close();
     // remove
-- 
GitLab