Showing 1 of 1 files from the diff.

@@ -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()
Files Coverage
cherrypy 79.28%
Project Totals (104 files) 79.28%
1
codecov:
2
  bot: codecov
3
  notify:
4
    require_ci_to_pass: yes
5

6
coverage:
7
  precision: 2
8
  round: down
9
  range: "70...100"
10

11
  status:
12
    # Only consider coverage of the code snippet changed in PR
13
    project: no
14
    patch: yes
15
    changes: no
16

17
parsers:
18
  gcov:
19
    branch_detection:
20
      conditional: yes
21
      loop: yes
22
      method: no
23
      macro: no
24

25
comment:
26
  layout: "header, diff"
27
  behavior: default
28
  require_changes: no
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading