1 new changeset in pytest:

http://bitbucket.org/hpk42/pytest/changeset/a3511ec33ee3/
changeset:   r2175:a3511ec33ee3
user:        hpk42
date:        2011-03-06 08:56:58
summary:     re-introduce pytest._fillfuncargs - it's actually used by oejskit,
added a test documenting this.
affected #:  2 files (158 bytes)

--- a/_pytest/python.py Sat Mar 05 18:22:33 2011 +0100
+++ b/_pytest/python.py Sun Mar 06 08:56:58 2011 +0100
@@ -34,7 +34,7 @@
         'collect': {
         'Module': Module, 'Class': Class, 'Instance': Instance,
         'Function': Function, 'Generator': Generator,
-        }
+        '_fillfuncargs': fillfuncargs}
     }
 
 def pytest_funcarg__pytestconfig(request):


--- a/testing/test_python.py    Sat Mar 05 18:22:33 2011 +0100
+++ b/testing/test_python.py    Sun Mar 06 08:56:58 2011 +0100
@@ -517,6 +517,10 @@
     repr(cs)
 
 class TestFillFuncArgs:
+    def test_fillfuncargs_exposed(self):
+        # used by oejskit
+        assert pytest._fillfuncargs == funcargs.fillfuncargs
+
     def test_funcarg_lookupfails(self, testdir):
         testdir.makeconftest("""
             def pytest_funcarg__xyzsomething(request):

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

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to