1 We have no pytest-services packaged yet.
3 --- cherrypy-18.10.0/setup.py.orig
4 +++ cherrypy-18.10.0/setup.py
9 - 'pytest-services>=2',
12 # Enables memcached session support via `cherrypy[memcached_session]`:
13 --- cherrypy-18.10.0/cherrypy/test/test_session.py.orig
14 +++ cherrypy-18.10.0/cherrypy/test/test_session.py
16 class MemcachedSessionTest(helper.CPWebCase):
17 setup_server = staticmethod(setup_server)
19 + @pytest.mark.skip(reason="no pytest-services")
20 def test_0_Session(self):
22 '/set_session_cls/cherrypy.lib.sessions.MemcachedSession'
24 self.getPage('/delete', self.cookies)
25 assert self.body == b'done'
27 + @pytest.mark.skip(reason="no pytest-services")
28 def test_1_Concurrency(self):
29 client_thread_count = 5
32 expected = 1 + (client_thread_count * request_count)
33 assert hitcount == expected
35 + @pytest.mark.skip(reason="no pytest-services")
36 def test_3_Redirect(self):
38 self.getPage('/testStr')
39 self.getPage('/iredir', self.cookies)
40 assert self.body == b'MemcachedSession'
42 + @pytest.mark.skip(reason="no pytest-services")
43 def test_5_Error_paths(self):
44 self.getPage('/unknown/page')
46 --- cherrypy-18.10.0/cherrypy/test/helper.py.orig
47 +++ cherrypy-18.10.0/cherrypy/test/helper.py
52 + @pytest.mark.skip(reason="no pytest-services")
54 if not self.do_gc_test: