summaryrefslogtreecommitdiff
path: root/tests/modules/plugins/another.py
blob: 80902d3429a4b22f224c0f9c854c9bd356558ff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt

"""A plugin for tests to reference."""

from coverage import CoveragePlugin


class Plugin(CoveragePlugin):
    pass


def coverage_init(reg, options):
    reg.add_file_tracer(Plugin())