Unit tests failing under Python 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash8 |
New
|
Undecided
|
Unassigned |
Bug Description
Building the package for version 0.5.1 has Python 3.6 unit test failure as per below.
=======
FAIL: bashate.
bashate.
-------
_StringException: Empty attachments:
pythonlogging:''
stderr
stdout
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "/<<PKGBUILDDIR
result = bashate.main()
File "/<<PKGBUILDDIR
description='A bash script style checker')
File "/usr/lib/
prog = _os.path.
File "/usr/lib/
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not MagicMock
=======
FAIL: bashate.
bashate.
-------
_StringException: Empty attachments:
pythonlogging:''
stderr
stdout
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "/<<PKGBUILDDIR
result = bashate.main()
File "/<<PKGBUILDDIR
description='A bash script style checker')
File "/usr/lib/
prog = _os.path.
File "/usr/lib/
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not MagicMock
=======
FAIL: bashate.
bashate.
-------
_StringException: Empty attachments:
pythonlogging:''
stderr
stdout
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "/<<PKGBUILDDIR
result = bashate.main()
File "/<<PKGBUILDDIR
description='A bash script style checker')
File "/usr/lib/
prog = _os.path.
File "/usr/lib/
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not MagicMock