def test_split_oneliner_with_default_model(self): """[Process] Split oneliner and assign default model""" # send single oneliner expected = {'chrm': 'chr1_1036', 'model': 'GTR'} observed = cl.split_oneliner(self.one, default_model=True) # dict assert observed[0] == expected # locus assert observed[1] == self.one.split(':')[1]
def test_split_oneliner(self): """[Process] Split oneliner""" # send single oneliner expected = {'chrm': 'chr1_1036'} observed = cl.split_oneliner(self.one) # dict assert observed[0] == expected # locus assert observed[1] == self.one.split(':')[1]