Skip to content

Commit 095c05c

Browse files
authored
Merge pull request #20 from jbasko/dev
Test cleanup and thank you note
2 parents ce0f39c + 373b8cf commit 095c05c

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ pass undeservedly, you can disable it:
163163

164164
$ pytest -p no:random-order -v
165165

166+
Thanks
167+
++++++
168+
169+
Thanks **Raul Gallegos** (eLRuLL) for adding Python 2.6 support.
170+
166171
License
167172
-------
168173

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def read(fname):
1313

1414
setup(
1515
name='pytest-random-order',
16-
version='0.5.4',
16+
version='0.5.5',
1717
author='Jazeps Basko',
1818
author_email='[email protected]',
1919
maintainer='Jazeps Basko',
@@ -25,7 +25,7 @@ def read(fname):
2525
py_modules=['pytest_random_order.plugin', 'pytest_random_order.shuffler'],
2626
install_requires=['pytest>=2.9.2'],
2727
classifiers=[
28-
'Development Status :: 4 - Beta',
28+
'Development Status :: 5 - Production/Stable',
2929
'Framework :: Pytest',
3030
'Intended Audience :: Developers',
3131
'Topic :: Software Development :: Testing',

tests/test_markers.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ def test_marker_disables_random_order_in_module(testdir, twenty_tests, get_test_
99
twenty_tests
1010
)
1111

12-
result = testdir.runpytest('--random-order-bucket=module', '-v')
12+
result = testdir.runpytest('-v')
1313
result.assert_outcomes(passed=20)
14-
names = [c.name for c in get_test_calls(testdir.runpytest())]
14+
names = [c.name for c in get_test_calls(result)]
1515
sorted_names = sorted(list(names))
1616

1717
if disabled:
@@ -30,9 +30,9 @@ def test_marker_disables_random_order_in_class(testdir, twenty_cls_tests, get_te
3030
twenty_cls_tests + '\n'
3131
)
3232

33-
result = testdir.runpytest('--random-order-bucket=module', '-v')
33+
result = testdir.runpytest('-v')
3434
result.assert_outcomes(passed=20)
35-
names = [c.name for c in get_test_calls(testdir.runpytest())]
35+
names = [c.name for c in get_test_calls(result)]
3636
sorted_names = sorted(list(names))
3737

3838
if disabled:

0 commit comments

Comments
 (0)