From d29dbe14cfc6737378ef01868b89ee154a777a48 Mon Sep 17 00:00:00 2001 From: "Rene A. Zelaya" Date: Tue, 23 May 2017 16:51:50 -0700 Subject: [PATCH] Correcting name of GreenletContextCopying test class (to start with 'Test'), making it extend object, and also having the test methods in it include 'self' as first argument. --- tests/test_reqctx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_reqctx.py b/tests/test_reqctx.py index 5e1a1a02..87e9a0fb 100644 --- a/tests/test_reqctx.py +++ b/tests/test_reqctx.py @@ -149,9 +149,9 @@ def test_manual_context_binding(app): @pytest.mark.skipif(greenlet is None, reason='greenlet not installed') -class GreenletContextCopying(): +class TestGreenletContextCopying(object): - def test_greenlet_context_copying(app, client): + def test_greenlet_context_copying(self, app, client): greenlets = [] @app.route('/') @@ -178,7 +178,7 @@ class GreenletContextCopying(): result = greenlets[0].run() assert result == 42 - def test_greenlet_context_copying_api(app, client): + def test_greenlet_context_copying_api(self, app, client): greenlets = [] @app.route('/')