Skip to content
Snippets Groups Projects
Commit c23c9c19 authored by Michael Wedel's avatar Michael Wedel
Browse files

Refs #11418. Added algorithm skeleton and failing test

parent 4aa0bb91
No related branches found
No related tags found
No related merge requests found
# 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
......@@ -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} )
......
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment