#1888 xfail test_wait_publishes_periodically() on macOS

Open Christian Clauss cclauss
Coverage Reach
test/test_conn.py test/test_core.py test/test_request_obj.py test/test_session.py test/helper.py test/test_tools.py test/test_static.py test/test_objectmapping.py test/test_states.py test/test_caching.py test/test_dynamicobjectmapping.py test/benchmark.py test/test_http.py test/test_encoding.py test/test_bus.py test/test_config.py test/logtest.py test/test_logging.py test/test_iterator.py test/test_tutorials.py test/test_misc_tools.py test/test_xmlrpc.py test/test_wsgiapps.py test/test_proxy.py test/test_auth_basic.py test/test_json.py test/test_auth_digest.py test/test_virtualhost.py test/test_wsgi_ns.py test/test_etags.py test/modpy.py test/test_config_server.py test/modwsgi.py test/modfastcgi.py test/test_wsgi_unix_socket.py test/modfcgid.py test/test_routes.py test/test_params.py test/test_refleaks.py test/_test_states_demo.py test/sessiondemo.py test/test_mime.py test/test_sessionauthenticate.py test/test_wsgi_vhost.py test/test_native.py test/_test_decorators.py test/test_httputil.py test/__init__.py test/checkerdemo.py test/test_plugins.py test/webtest.py lib/sessions.py lib/cptools.py lib/encoding.py lib/cpstats.py lib/caching.py lib/httputil.py lib/reprconf.py lib/static.py lib/auth_digest.py lib/covercp.py lib/gctools.py lib/profiler.py lib/__init__.py lib/auth_basic.py lib/jsontools.py lib/xmlrpcutil.py lib/locking.py process/plugins.py process/wspbus.py process/servers.py process/win32.py process/__init__.py _cpreqbody.py _cprequest.py _cpdispatch.py _cpwsgi.py _cptools.py _cperror.py _cpchecker.py _cpmodpy.py _cplogging.py tutorial/tut10_http_errors.py tutorial/tut09_files.py tutorial/tut04_complex_site.py tutorial/tut05_derived_objects.py tutorial/tut08_generators_and_yield.py tutorial/tut06_default_method.py tutorial/tut03_get_and_post.py tutorial/tut07_sessions.py tutorial/tut02_expose_methods.py tutorial/tut01_helloworld.py tutorial/__init__.py _helper.py _cptree.py _cpserver.py _cpnative_server.py _cpconfig.py daemon.py _cpwsgi_server.py scaffold/__init__.py _cpcompat.py _json.py __main__.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -1,6 +1,8 @@
Loading
1 1
"""Publish-subscribe bus tests."""
2 2
# pylint: disable=redefined-outer-name
3 3
4 +
import os
5 +
import sys
4 6
import threading
5 7
import time
6 8
import unittest.mock
@@ -10,6 +12,7 @@
Loading
10 12
from cherrypy.process import wspbus
11 13
12 14
15 +
CI_ON_MACOS = bool(os.getenv('CI')) and sys.platform == 'darwin'
13 16
msg = 'Listener %d on channel %s: %s.'  # pylint: disable=invalid-name
14 17
15 18
@@ -218,6 +221,7 @@
Loading
218 221
        assert bus.state in states, 'State %r not in %r' % (bus.state, states)
219 222
220 223
224 +
@pytest.mark.xfail(CI_ON_MACOS, reason='continuous integration on macOS fails')
221 225
def test_wait_publishes_periodically(bus):
222 226
    """Test that wait publishes each tick."""
223 227
    callback = unittest.mock.MagicMock()

Learn more Showing 1 files with coverage changes found.

Changes in cherrypy/test/test_refleaks.py
-1
+1
Loading file...
Files Coverage
cherrypy 0.01% 79.93%
Project Totals (104 files) 79.93%
Loading