[py-svn] commit/py: hpk42: fix internal test, thanks thm

Bitbucket commits-noreply at bitbucket.org
Sun Oct 21 20:38:00 CEST 2012


1 new commit in py:


https://bitbucket.org/hpk42/py/changeset/1060ea1c96dd/
changeset:   1060ea1c96dd
user:        hpk42
date:        2012-10-21 20:37:54
summary:     fix internal test, thanks thm
affected #:  2 files

diff -r 4532fe5ee826808805b373e9296d2baf4db254d9 -r 1060ea1c96dd9dfb031bd1987ceb2bf437a096a3 CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,9 @@
+Changes between 1.4.10 and 1.4.11.dev
+==================================================
+
+- fix an internal test to not use class-denoted pytest_funcarg__
+
+
 Changes between 1.4.9 and 1.4.10
 ==================================================
 


diff -r 4532fe5ee826808805b373e9296d2baf4db254d9 -r 1060ea1c96dd9dfb031bd1987ceb2bf437a096a3 testing/path/test_svnauth.py
--- a/testing/path/test_svnauth.py
+++ b/testing/path/test_svnauth.py
@@ -261,7 +261,10 @@
         u.propget('foo')
         assert '--username="foo" --password="bar"' in u.commands[0]
 
-class pytest_funcarg__setup:
+def pytest_funcarg__setup(request):
+    return Setup(request)
+
+class Setup:
     def __init__(self, request):
         if not svnbin:
             py.test.skip("svn binary required")

Repository URL: https://bitbucket.org/hpk42/py/

--

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