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