How can I assert lists equality with pytest

I'm trying to make some unit tests with pytest. I was thinking about doing things like that: actual = b_manager.get_b(complete_set) assert actual is not None assert actual.columns == ['bl', 'dire...