run-tests can't handle tests_require - part 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
New
|
Undecided
|
Unassigned |
Bug Description
Run tests should be able to handle a split between dependencies and test dependencies. In order to quickly fix Bug #1286331 I had to move the test dependencies to appear as regular dependencies for the CLI. We should be able to separate out the two type of dependencies. This is what is seen when running run-tests with the current cli setup:
== Testing ./juju-
File "./run-tests", line 90, in load_regular_
suite.
File "./run-tests", line 62, in load_component_
suite.
File "/home/
suite.
File "/home/
suite.
File "/home/
suite = self.loadTestsF
File "/home/
suite.
File "/home/
suite.
File "/home/
module = self.importFrom
File "/home/
raise ImportError(msg)
ImportError: Failed to import tests.test_cli at ./tests/
Traceback (most recent call last):
File "/home/
return importlib.
File "/usr/lib/
__import_
File "cli/tests/
from testfixtures import LogCapture
ImportError: No module named testfixtures
tags: | added: airline |
no longer affects: | ubuntu-ci-services-itself |