agent broken test in Py 3.6: TestScriptRunner.test_script_runner_downloable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
New
|
Undecided
|
Unassigned |
Bug Description
Hi. Building murano-agent 3.4.0 (aka: Queens release) in Debian Sid using Python 3.6 leads to the below stack dump. It looks like the test is broken (but I can't tell about the code...) since we're seeing a MagicMock object from unittest / mock.
FAIL: muranoagent.
muranoagent.
-------
_StringException: Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "/<<PKGBUILDDIR
scripts.
File "/<<PKGBUILDDIR
return os.path.
File "/usr/lib/
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not MagicMock