Integration test failure: "ImportError: No module named ci_utils.file_handler" in test_create_ticket_via_cli (__main__.IntegrationTest)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Fix Released
|
High
|
Vincent Ladeuil |
Bug Description
This failure is still present in the integration tests in,
=======
Testing ./tests/
=======
...
...
=======
FAIL: test_create_
-------
Traceback (most recent call last):
File "./tests/
ticket_id = self.create_
File "./tests/
0, proc.returncode, '{} failed:
AssertionError: ('python', '/var/lib/
Traceback (most recent call last):
File "/var/lib/
from ci_cli import (
File "/var/lib/
from ci_utils.
ImportError: No module named ci_utils.
There was an attempt thanks to cprov at: http://
but unfortunately the issue still present.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Celso Providelo (community): Approve
-
Diff: 54 lines (+7/-17)1 file modifiedtests/test_integration.py (+7/-17)
Changed in uci-engine: | |
assignee: | nobody → Vincent Ladeuil (vila) |
importance: | Undecided → High |
milestone: | none → uce-0 |
status: | New → In Progress |
Changed in uci-engine: | |
status: | In Progress → Fix Committed |
Changed in uci-engine: | |
status: | Fix Committed → Fix Released |
The latest fix attempted to address the issue by adding'ci_utils' to sys.apth. But since the command is called via a s subprocess, that didn't work.