We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d98c1f6 commit c107dd3Copy full SHA for c107dd3
setup.py
@@ -20,9 +20,13 @@
20
21
22
class PyTest(TestCommand):
23
+ user_options = []
24
+ def initialize_options(self):
25
+ self._argv = []
26
+ pass
27
+
28
def finalize_options(self):
- TestCommand.finalize_options(self)
- self.test_suite = True
29
30
31
def run_tests(self):
32
import pytest
@@ -31,7 +35,9 @@ def run_tests(self):
35
os.environ.pop('PYWB_CONFIG_FILE', None)
36
cmdline = ' --cov-config .coveragerc --cov pywb'
33
37
cmdline += ' -v --doctest-module ./pywb/ tests/'
38
34
39
errcode = pytest.main(cmdline)
40
41
sys.exit(errcode)
42
43
setup(
@@ -74,7 +80,7 @@ def run_tests(self):
74
80
'requests',
75
81
'redis',
76
82
'jinja2',
77
- 'surt',
83
+ 'surt==0.2',
78
84
'pyyaml',
79
85
'watchdog',
86
'webencodings',
0 commit comments