From 7001fd6ec1f01c1ef48579c975d51a0a00f4a036 Mon Sep 17 00:00:00 2001 From: Krzysztof Dymkowski <kdymkowski84@gmail.com> Date: Tue, 24 Jan 2017 14:44:08 +0000 Subject: [PATCH] Change xtest to test. --- .../test/python/plugins/algorithms/AbinsBasicTest.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Framework/PythonInterface/test/python/plugins/algorithms/AbinsBasicTest.py b/Framework/PythonInterface/test/python/plugins/algorithms/AbinsBasicTest.py index bb883b5a7aa..c3845f90df2 100644 --- a/Framework/PythonInterface/test/python/plugins/algorithms/AbinsBasicTest.py +++ b/Framework/PythonInterface/test/python/plugins/algorithms/AbinsBasicTest.py @@ -59,7 +59,7 @@ class AbinsBasicTest(unittest.TestCase): "squaricn_scale", "benzene_exp"]) mtd.clear() - def xtest_wrong_input(self): + def test_wrong_input(self): """Test if the correct behaviour of algorithm in case input is not valid""" # invalid CASTEP file missing: Number of branches 6 in the header file @@ -91,14 +91,14 @@ class AbinsBasicTest(unittest.TestCase): OutputWorkspace=self._workspace_name) # test if intermediate results are consistent - def xtest_non_unique_atoms(self): + def test_non_unique_atoms(self): """Test scenario in which a user specifies non unique atoms (for example in squaricn that would be "C,C,H"). In that case Abins should terminate and print a meaningful message. """ self.assertRaises(RuntimeError, Abins, PhononFile=self._squaricn + ".phonon", Atoms="C,C,H", OutputWorkspace=self._workspace_name) - def xtest_non_existing_atoms(self): + def test_non_existing_atoms(self): """Test scenario in which a user requests to create workspaces for atoms which do not exist in the system. In that case Abins should terminate and give a user a meaningful message about wrong atoms to analyse. """ @@ -106,7 +106,7 @@ class AbinsBasicTest(unittest.TestCase): self.assertRaises(RuntimeError, Abins, PhononFile=self._squaricn + ".phonon", Atoms="N", OutputWorkspace=self._workspace_name) - def xtest_scale(self): + def test_scale(self): """ Test if scaling is correct. @return: @@ -140,7 +140,7 @@ class AbinsBasicTest(unittest.TestCase): (result, messages) = CompareWorkspaces(wrk, ref, Tolerance=self._tolerance) self.assertEqual(result, True) - def xtest_exp(self): + def test_exp(self): """ Tests if experimental data is loaded correctly. @return: -- GitLab