Benjamin Schubert pushed to branch bschubert/remove-pytest-runner at BuildStream / buildstream
Commits:
-
eb26895b
by Benjamin Schubert at 2018-10-24T15:21:27Z
1 changed file:
Changes:
... | ... | @@ -240,6 +240,9 @@ class PyTest(TestCommand): |
240 | 240 |
|
241 | 241 |
def run(self):
|
242 | 242 |
if self.index_url is not None:
|
243 |
+ if self.distribution.command_options.get("easy_install") is None:
|
|
244 |
+ self.distribution.command_options["easy_install"] = {}
|
|
245 |
+
|
|
243 | 246 |
self.distribution.command_options["easy_install"]["index_url"] = (
|
244 | 247 |
"cmdline", self.index_url,
|
245 | 248 |
)
|