Example #1
0
 def test_call(self):
     """Abstract RepSetPicker __call__ should raise NotImplementedError"""
     p = RepSetPicker({})
     self.assertRaises(NotImplementedError, p, '/path/to/seqs',
                       '/path/to/otus')
Example #2
0
 def test_init(self):
     """Abstract RepSetPicker __init__ should store name, params"""
     p = RepSetPicker({})
     self.assertEqual(p.Name, 'RepSetPicker')
     self.assertEqual(p.Params, {})