def finalize_options(self):
    TestCommand.finalize_options(self)
    if (self.cov is not None):
        self.cov = ['--cov', self.cov, '--cov-report', 'term-missing']
        if self.cov_xml:
            self.cov.extend(['--cov-report', 'xml'])
        if self.cov_html:
            self.cov.extend(['--cov-report', 'html'])
    if (self.junitxml is not None):
        self.junitxml = ['--junitxml', self.junitxml]
def finalize_options(self):
    TestCommand.finalize_options(self)
    if (self.cov is not None):
        self.cov = ['--cov', self.cov, '--cov-report', 'term-missing']
        if self.cov_xml:
            self.cov.extend(['--cov-report', 'xml'])
        if self.cov_html:
            self.cov.extend(['--cov-report', 'html'])
    if (self.junitxml is not None):
        self.junitxml = ['--junitxml', self.junitxml]