[py-svn] commit/pytest-xdist: 6 new changesets
Bitbucket
commits-noreply at bitbucket.org
Sun Jan 22 06:16:11 CET 2012
6 new commits in pytest-xdist:
https://bitbucket.org/hpk42/pytest-xdist/changeset/7648e66d2190/
changeset: 7648e66d2190
user: hpk42
date: 2011-12-16 11:47:33
summary: bump versions
affected #: 2 files
diff -r 4c9af0621fae3440b5e3e988e6b5fb2351fca3b7 -r 7648e66d2190ea4ffe585ad22621e314073546c8 setup.py
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
setup(
name="pytest-xdist",
- version='1.8.dev2',
+ version='1.8',
description='py.test xdist plugin for distributed testing and loop-on-failing modes',
long_description=open('README.txt').read(),
license='GPLv2 or later',
@@ -13,7 +13,7 @@
packages = ['xdist'],
entry_points = {'pytest11': ['xdist = xdist.plugin'],},
zip_safe=False,
- install_requires = ['execnet>=1.0.8', 'pytest>=2.2.1.dev2'],
+ install_requires = ['execnet>=1.0.8', 'pytest>=2.2.1'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
@@ -27,4 +27,4 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
-)
+)
\ No newline at end of file
diff -r 4c9af0621fae3440b5e3e988e6b5fb2351fca3b7 -r 7648e66d2190ea4ffe585ad22621e314073546c8 xdist/__init__.py
--- a/xdist/__init__.py
+++ b/xdist/__init__.py
@@ -1,2 +1,2 @@
#
-__version__ = '1.8.dev2'
+__version__ = '1.8'
https://bitbucket.org/hpk42/pytest-xdist/changeset/0d1c00018008/
changeset: 0d1c00018008
user: hpk42
date: 2011-12-16 12:47:28
summary: streamline MANIFEST file
affected #: 1 file
diff -r 7648e66d2190ea4ffe585ad22621e314073546c8 -r 0d1c00018008433956aa7d93007bab6ea7de96e4 MANIFEST.in
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -3,8 +3,4 @@
include README.txt
include setup.py
graft testing
-exclude *.orig
-exclude *.rej
-recursive-exclude testing *.pyc *$py.class
-prune .svn
prune .hg
https://bitbucket.org/hpk42/pytest-xdist/changeset/040a8cff7d60/
changeset: 040a8cff7d60
user: hpk42
date: 2011-12-16 12:57:23
summary: Added tag 1.8 for changeset 0d1c00018008
affected #: 1 file
diff -r 0d1c00018008433956aa7d93007bab6ea7de96e4 -r 040a8cff7d60e984f90fda8fd13146ea8173fe0b .hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -10,3 +10,4 @@
20875fed94e7f3dff50bdf762df91153b15ceca6 1.7
20875fed94e7f3dff50bdf762df91153b15ceca6 1.7
29c38e195526f5f0fdd651fb51f59d6efaaafbb0 1.7
+0d1c00018008433956aa7d93007bab6ea7de96e4 1.8
https://bitbucket.org/hpk42/pytest-xdist/changeset/1d27987c2675/
changeset: 1d27987c2675
user: hpk42
date: 2011-12-16 12:59:17
summary: merge
affected #: 2 files
diff -r 040a8cff7d60e984f90fda8fd13146ea8173fe0b -r 1d27987c267577899350a25ba5828d55d87083ad setup.py
--- a/setup.py
+++ b/setup.py
@@ -27,4 +27,4 @@
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
-)
\ No newline at end of file
+)
diff -r 040a8cff7d60e984f90fda8fd13146ea8173fe0b -r 1d27987c267577899350a25ba5828d55d87083ad testing/test_looponfail.py
--- a/testing/test_looponfail.py
+++ b/testing/test_looponfail.py
@@ -88,16 +88,14 @@
assert not failures
def test_failures_somewhere(self, testdir):
- item = testdir.getitem("def test_func(): assert 0\n")
+ item = testdir.getitem("def test_func():\n assert 0\n")
control = RemoteControl(item.config)
control.setup()
failures = control.runsession()
assert failures
control.setup()
- item.fspath.write("def test_func(): assert 1\n")
- pyc = item.fspath.new(ext=".pyc")
- if pyc.check():
- pyc.remove()
+ item.fspath.write("def test_func():\n assert 1\n")
+ removepyc(item.fspath)
topdir, failures = control.runsession()[:2]
assert not failures
@@ -115,9 +113,7 @@
def test_new():
assert 0
"""))
- pyc = modcol.fspath.new(ext=".pyc")
- if pyc.check():
- pyc.remove()
+ removepyc(modcol.fspath)
control.loop_once()
assert not control.failures
control.loop_once()
@@ -252,4 +248,7 @@
pyc = path + "c"
if pyc.check():
pyc.remove()
+ c = path.dirpath("__pycache__")
+ if c.check():
+ c.remove()
https://bitbucket.org/hpk42/pytest-xdist/changeset/2bca332b5ef1/
changeset: 2bca332b5ef1
user: hpk42
date: 2011-12-16 12:59:21
summary: Added tag 1.8 for changeset 1d27987c2675
affected #: 1 file
diff -r 1d27987c267577899350a25ba5828d55d87083ad -r 2bca332b5ef1fd55c91cd716df3759a610c19efa .hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -11,3 +11,5 @@
20875fed94e7f3dff50bdf762df91153b15ceca6 1.7
29c38e195526f5f0fdd651fb51f59d6efaaafbb0 1.7
0d1c00018008433956aa7d93007bab6ea7de96e4 1.8
+0d1c00018008433956aa7d93007bab6ea7de96e4 1.8
+1d27987c267577899350a25ba5828d55d87083ad 1.8
https://bitbucket.org/hpk42/pytest-xdist/changeset/aaaecf0fade3/
changeset: aaaecf0fade3
user: hpk42
date: 2012-01-22 06:14:22
summary: merge
affected #: 1 file
diff -r 2bca332b5ef1fd55c91cd716df3759a610c19efa -r aaaecf0fade3fe063b75c2b577053a5d9e84bb2d testing/test_remote.py
--- a/testing/test_remote.py
+++ b/testing/test_remote.py
@@ -121,6 +121,23 @@
if rep.failed:
assert newrep.longrepr == str(rep.longrepr)
+ def test_extended_report_deserialization(self, testdir):
+ reprec = testdir.inline_runsource("qwe abc")
+ reports = reprec.getreports("pytest_collectreport")
+ assert reports
+ for rep in reports:
+ rep.extra = True
+ d = serialize_report(rep)
+ check_marshallable(d)
+ newrep = unserialize_report("collectreport", d)
+ assert newrep.extra
+ assert newrep.passed == rep.passed
+ assert newrep.failed == rep.failed
+ assert newrep.skipped == rep.skipped
+ if rep.failed:
+ assert newrep.longrepr == str(rep.longrepr)
+
+
class TestSlaveInteractor:
def test_basic_collect_and_runtests(self, slave):
p = slave.testdir.makepyfile("""
Repository URL: https://bitbucket.org/hpk42/pytest-xdist/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list