Beispiel #1
0
    def test_label_line_parser(self):
        self.assertEqual(_label_line_parser(StringIO('abc\tucag')), ({
            "abc": ["ucag"]
        }, ['abc']))

        with self.assertRaises(ClustalFormatError):
            _label_line_parser(StringIO('abctucag'))
    def test_label_line_parser(self):
        self.assertEqual(_label_line_parser(StringIO('abc\tucag')),
                         ({"abc": ["ucag"]}, ['abc']))

        with self.assertRaises(ClustalFormatError):
            _label_line_parser(StringIO('abctucag'))