Skip to content

Commit

Permalink
Fixed handling of coveragerc in DistMaster.
Browse files Browse the repository at this point in the history
  • Loading branch information
schlamar committed Apr 25, 2014
1 parent d024572 commit 976c6ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pytest_cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ def __init__(self, options, pluginmanager, start=True):
# slave is started in pytest hook

def start(self, controller_cls, config=None, nodeid=None):
if config is None:
# fake config option for cov_core
class Config(object):
option = self.options

config = Config()

self.cov_controller = controller_cls(
self.options.cov_source,
self.options.cov_report or ['term'],
Expand Down

0 comments on commit 976c6ef

Please # to comment.