Skip to content
Myr

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.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Rene A. Zelaya · committed by Rene A. Zelaya · parent f406170 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • tests:+3 added−3 removed

1 file+3 added−3 removed

modified:tests/test_reqctx.py+3 added-3 removed
147 unmodified lines
148 index()149150151@pytest.mark.skipif(greenlet is None, reason='greenlet not installed')152class GreenletContextCopying():152class TestGreenletContextCopying(object):153154 def test_greenlet_context_copying(app, client):154 def test_greenlet_context_copying(self, app, client):155 greenlets = []156157 @app.route('/')158 def index():
18 unmodified lines
177178 result = greenlets[0].run()179 assert result == 42180181 def test_greenlet_context_copying_api(app, client):181 def test_greenlet_context_copying_api(self, app, client):182 greenlets = []183184 @app.route('/')185 def index():
42 unmodified lines