mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Make sure tests work with the new pytest.
This commit is contained in:
@@ -89,7 +89,6 @@ class PyTest(TestCommand):
|
|||||||
params = {'args': self.test_args}
|
params = {'args': self.test_args}
|
||||||
if self.cov:
|
if self.cov:
|
||||||
params['args'] += self.cov
|
params['args'] += self.cov
|
||||||
params['plugins'] = ['cov']
|
|
||||||
if self.junitxml:
|
if self.junitxml:
|
||||||
params['args'] += self.junitxml
|
params['args'] += self.junitxml
|
||||||
params['args'] += ['--doctest-modules', MAIN_PACKAGE, '-s', '-vv']
|
params['args'] += ['--doctest-modules', MAIN_PACKAGE, '-s', '-vv']
|
||||||
|
|||||||
Reference in New Issue
Block a user