def test_random_fixtures():
"""Check random fixture values will be different when random seed
is not explicitly provided.
"""
result_first = subprocess.run(
[*pytest_command, "random_fixtures_test.py"],
capture_output=True,
cwd=os.path.dirname(__file__),
)
result_second = subprocess.run(
[*pytest_command, "random_fixtures_test.py"],
capture_output=True,
cwd=os.path.dirname(__file__),
)
> assert result_first.stderr != result_second.stderr
E AssertionError: assert b'' != b''
E + where b'' = CompletedProcess(args=['python3', '-m', 'pytest', '-s', 'random_fixtures_test.py'], returncode=1, stdout=b'===========... IndexError: Canno...\n======================== 13 warnings, 1 error in 3.16s =========================\n', stderr=b'').stderr
E + and b'' = CompletedProcess(args=['python3', '-m', 'pytest', '-s', 'random_fixtures_test.py'], returncode=1, stdout=b'===========... IndexError: Canno...\n======================== 13 warnings, 1 error in 3.15s =========================\n', stderr=b'').stderr
.tox/py3/lib/python3.7/site-packages/swh/web/tests/test_random_fixtures.py:26: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jan 25 2022, 3:40 PM