def test_positioning_headlines(): in1 = [['first headline', 'first-headline', 1], ['second headline', 'second-headline', 2]] in2 = [['first headline', 'first-headline', 2], ['second headline', 'second-headline', 3]] assert(mt.positioning_headlines(in1) == in1) assert(mt.positioning_headlines(in2) == in1)
def test_positioning_headlines(): in1 = [['first headline', 'first-headline', 1], ['second headline', 'second-headline', 2]] in2 = [['first headline', 'first-headline', 2], ['second headline', 'second-headline', 3]] assert (mt.positioning_headlines(in1) == in1) assert (mt.positioning_headlines(in2) == in1)