Skip to content

Commit

Permalink
Change DeprecatedAlgorithmCheckerTest.py example re #7072
Browse files Browse the repository at this point in the history
I change it to use DiffractionFocussing which I do not intend to remove for release 3.0, because it is used by a system test.

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
  • Loading branch information
KarlPalmen committed Oct 17, 2013
1 parent b12a903 commit ca7d9ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_non_deprecated_algorithm_returns_empty_string_from_isDeprecated(self):
self.assertTrue(len(msg) == 0)

def test_deprecated_algorithm_returns_non_empty_string_from_isDeprecated(self):
deprecation_check = DeprecatedAlgorithmChecker("GetMaskedDetectors",-1)
deprecation_check = DeprecatedAlgorithmChecker("DiffractionFocussing",-1)
msg = deprecation_check.isDeprecated()
self.assertTrue(len(msg) > 0)

Expand Down

0 comments on commit ca7d9ec

Please sign in to comment.