test_bicommand_environment_expansion currently fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running the "make test" target in an Ubuntu 20.04 amd64 environment results in one test failure:
lint run-test-pre: PYTHONHASHSEED=
lint run-test: commands[0] | python -m flake8 --config=setup.cfg --max-complexity=30 mojo
check_formatting inst-nodeps: /home/ubuntu/
check_formatting installed: appdirs=
check_formatting run-test-pre: PYTHONHASHSEED=
check_formatting run-test: commands[0] | python -m black --exclude=
All done! ✨ 🍰 ✨
34 files would be left unchanged.
py34 create: /home/ubuntu/
SKIPPED: InterpreterNotF
py35 create: /home/ubuntu/
SKIPPED: InterpreterNotF
py36 create: /home/ubuntu/
SKIPPED: InterpreterNotF
py38 inst-nodeps: /home/ubuntu/
py38 installed: appdirs=
py38 run-test-pre: PYTHONHASHSEED=
py38 run-test: commands[0] | nosetests mojo/tests/
....../
warnings.warn(
.......
=======
FAIL: Environment variables in bicommand invocations are expanded.
-------
Traceback (most recent call last):
File "/home/
self.
AssertionError: 'I' != "I've come to talk with you again."
- I
+ I've come to talk with you again.
Related branches
- Tom Haddon: Disapprove
- Canonical IS Reviewers: Pending requested
-
Diff: 43 lines (+12/-4)2 files modifiedmojo/tests/test_mojo.py (+7/-0)
mojo/utils.py (+5/-4)
Changed in mojo: | |
assignee: | nobody → Barry Price (barryprice) |
status: | New → In Progress |
Changed in mojo: | |
status: | In Progress → Fix Released |
Changed in mojo: | |
assignee: | Barry Price (barryprice) → nobody |
I don't see this failure - https:/ /paste. ubuntu. com/p/TxXPG8G6K J/.
Can you take a look at pdb and see if you can figure out why it might be failing for you?