Created
March 3, 2020 07:18
-
-
Save tadeboro/afdd69f64cb179946c246c886dcc10e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible-test units tests/unit/test_x.py | |
... | |
========================================== FAILURES =========================================== | |
________________________________________ test_my_stuff ________________________________________ | |
[gw0] linux -- Python 3.7.6 /tmp/python-8s1dwmns-ansible/python | |
def test_my_stuff(): | |
> assert dict(a=3) == dict(b=2) | |
E AssertionError | |
tests/unit/test_x.py:2: AssertionError | |
$ pytest tests/unit/test_x.py | |
... | |
========================================== FAILURES =========================================== | |
________________________________________ test_my_stuff ________________________________________ | |
def test_my_stuff(): | |
> assert dict(a=3) == dict(b=2) | |
E AssertionError: assert {'a': 3} == {'b': 2} | |
E Left contains 1 more item: | |
E {'a': 3} | |
E Right contains 1 more item: | |
E {'b': 2} | |
E Use -v to get the full diff | |
tests/unit/test_x.py:2: AssertionError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_my_stuff(): | |
assert dict(a=3) == dict(b=2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment