Test equality of unordered sequences of unhashable items
Project description
pytest-unordered
Test equality of unordered sequences of unhashable items.
Installation
pip install pytest-unordered
Usage
from pytest_unordered import unordered
def test_unordered():
assert [3, 2, {1: ['a', 'b']}] == unordered([{1: ['a', 'b']}, 2, 3])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-unordered-0.1.0.zip
(5.0 kB
view hashes)