Skip to content
Snippets Groups Projects
Commit 12ca2736 authored by Nick Draper's avatar Nick Draper
Browse files

Anothtest hard coded to the LoadRaw versions

peel an onion and you find another layer

re #9020
parent 86a23cee
No related branches found
No related tags found
No related merge requests found
......@@ -24,9 +24,10 @@ class AlgorithmFactoryTest(unittest.TestCase):
all_algs = AlgorithmFactory.getRegisteredAlgorithms(True)
self.assertTrue( len(all_algs) > 0 )
self.assertTrue( 'ConvertUnits' in all_algs )
# 3 versions of LoadRaw
self.assertEquals( len(all_algs['LoadRaw']), 3 )
self.assertEquals( all_algs['LoadRaw'], [1,2,3] )
self.assertTrue( 'LoadRaw' in all_algs )
# one versions of LoadRaw
self.assertEquals( len(all_algs['LoadRaw']), 1 )
self.assertEquals( all_algs['LoadRaw'], [3] )
def test_algorithm_subscription_with_valid_object_succeeds(self):
testhelpers.assertRaisesNothing(self, AlgorithmFactory.subscribe, IsAnAlgorithm)
......
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