Nat McLean
2011-09-25 da32aae493430ff686d83a298d1e8d763381d029
requestonly test
1 files modified
7 ■■■■■ changed files
pyramid/tests/test_config/test_views.py 7 ●●●●● patch | view | raw | blame | history
pyramid/tests/test_config/test_views.py
@@ -1763,6 +1763,13 @@
        class Foo: pass
        foo = Foo()
        self.assertFalse(self._callFUT(foo))
    def test_method_onearg_named_request(self):
        class Foo:
            def method(self, request):
                """ """
        foo = Foo()
        self.assertTrue(self._callFUT(foo.method))
class Test_isexception(unittest.TestCase):
    def _callFUT(self, ob):