Skip to content

Conversation

@sturmianseq
Copy link

This PR aims to improve test reliability of test test_multi by resetting MultiExample.count to initial state 0

The test can fail in this way if MultiExample.count is not reset

test_life_cycle.py::test_multi FAILED                                    [100%]
cynergy/tests/test_life_cycle.py:29 (test_multi)
4 != 2

Expected :2
Actual   :4
<Click to see difference>

def test_multi():
        assert_instance_of(MultiExample, 2)
>       assert_instance_of(MultiExample, 2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant