From c23c9c19d8cc4d77bb879bceb4c4d2c8375d2cc9 Mon Sep 17 00:00:00 2001
From: Michael Wedel <michael.wedel@psi.ch>
Date: Mon, 23 Mar 2015 10:46:14 +0100
Subject: [PATCH] Refs #11418. Added algorithm skeleton and failing test

---
 .../algorithms/PoldiLoadCrystalData.py        | 25 +++++++++++++++++++
 .../python/plugins/algorithms/CMakeLists.txt  |  1 +
 .../algorithms/PoldiLoadCrystalDataTest.py    | 17 +++++++++++++
 3 files changed, 43 insertions(+)
 create mode 100644 Code/Mantid/Framework/PythonInterface/plugins/algorithms/PoldiLoadCrystalData.py
 create mode 100644 Code/Mantid/Framework/PythonInterface/test/python/plugins/algorithms/PoldiLoadCrystalDataTest.py

diff --git a/Code/Mantid/Framework/PythonInterface/plugins/algorithms/PoldiLoadCrystalData.py b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/PoldiLoadCrystalData.py
new file mode 100644
index 00000000000..918cba6c550
--- /dev/null
+++ b/Code/Mantid/Framework/PythonInterface/plugins/algorithms/PoldiLoadCrystalData.py
@@ -0,0 +1,25 @@
+# pylint: disable=no-init,invalid-name,bare-except
+from mantid.kernel import *
+from mantid.simpleapi import *
+from mantid.api import *
+
+
+class PoldiLoadCrystalData(PythonAlgorithm):
+    def category(self):
+        return "SINQ\\POLDI"
+
+    def name(self):
+        return "PoldiLoadCrystalData"
+
+    def summary(self):
+        return ("The algorithm reads a POLDI crystal structure file and creates a WorkspaceGroup that contains tables"
+                "with the expected reflections.")
+
+    def PyInit(self):
+        pass
+
+    def PyExec(self):
+        pass
+
+
+AlgorithmFactory.subscribe(PoldiLoadCrystalData)
\ No newline at end of file
diff --git a/Code/Mantid/Framework/PythonInterface/test/python/plugins/algorithms/CMakeLists.txt b/Code/Mantid/Framework/PythonInterface/test/python/plugins/algorithms/CMakeLists.txt
index c47909fcd6b..c29bca19791 100644
--- a/Code/Mantid/Framework/PythonInterface/test/python/plugins/algorithms/CMakeLists.txt
+++ b/Code/Mantid/Framework/PythonInterface/test/python/plugins/algorithms/CMakeLists.txt
@@ -57,6 +57,7 @@ set ( TEST_PY_FILES
   ExportExperimentLogTest.py
   PoldiMergeTest.py
   VesuvioResolutionTest.py
+  PoldiLoadCrystalDataTest.py
 )
 
 check_tests_valid ( ${CMAKE_CURRENT_SOURCE_DIR} ${TEST_PY_FILES} )
diff --git a/Code/Mantid/Framework/PythonInterface/test/python/plugins/algorithms/PoldiLoadCrystalDataTest.py b/Code/Mantid/Framework/PythonInterface/test/python/plugins/algorithms/PoldiLoadCrystalDataTest.py
new file mode 100644
index 00000000000..2039ed6a3fd
--- /dev/null
+++ b/Code/Mantid/Framework/PythonInterface/test/python/plugins/algorithms/PoldiLoadCrystalDataTest.py
@@ -0,0 +1,17 @@
+import unittest
+
+from mantid.kernel import *
+from mantid.api import *
+from mantid.simpleapi import *
+
+
+class PoldiLoadCrystalDataTest(unittest.TestCase):
+    def __init__(self, *args):
+        unittest.TestCase.__init__(self, *args)
+
+    def test_Init(self):
+        self.assertTrue(False)
+
+
+if __name__ == '__main__':
+    unittest.main()
\ No newline at end of file
-- 
GitLab