diff options
author | Alex Chan <alex@alexwlchan.net> | 2016-10-24 16:34:41 +0100 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2016-10-24 17:34:41 +0200 |
commit | 6b69c55372a390ca350fd6d2749452ffe3f55049 (patch) | |
tree | 2eda52e47b788db8f0dfa2bf5609bd2717d87417 /tox.ini | |
parent | 29add1dc54122fd15d712a86bf305ab9c2ef8bc6 (diff) | |
download | pyopenssl-6b69c55372a390ca350fd6d2749452ffe3f55049.tar.gz |
Convert test_rand to use pytest-style tests (#563)
Fix up the assert helpers, subclass form `object` rather than test case,
and use parametrization where appropriate.
One helper method on the original `TestCase` was the ability to create
temporary directories that were cleaned up at the end of the test --
now we use a pytest fixture instead: http://doc.pytest.org/en/latest/tmpdir.html
Addresses #340.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ setenv = PIP_NO_BINARY=cryptography commands = openssl version - coverage run --parallel -m pytest {posargs} + coverage run --parallel -m pytest -v {posargs} [testenv:py27-twistedMaster] deps = |