Fix Python3 unitests/syntax checker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VirtualBMC |
Fix Released
|
Low
|
Lucas Alvares Gomes |
Bug Description
If you run "tox -epep8" when Python3 is your default interpreter you will get:
$ tox -epep8
...
pep8 runtests: PYTHONHASHSEED=
pep8 runtests: commands[0] | flake8
./virtualbmc/
./virtualbmc/
./virtualbmc/
Similarly, when running "tox -epy35" you will get:
virtualbmc.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/home/
b" with open(pidfile_path, 'r') as f:"
b' File "/home/
b' return _mock_self.
b' File "/home/
b' raise effect'
b'OSError: boom'
b''
b'During handling of the above exception, another exception occurred:'
b''
b'Traceback (most recent call last):'
b' File "/home/
b' return func(*args, **keywargs)'
b' File "/home/
b' self.manager.stop, self.domain_name0)'
b' File "/home/
b' self.assertThat
b' File "/home/
b' mismatch_error = self._matchHelp
b' File "/home/
b' mismatch = matcher.
b' File "/home/
b' mismatch = self.exception_
b' File "/home/
b' mismatch = matcher.
b' File "/home/
b' reraise(*matchee)'
b' File "/home/
b' raise exc_obj.
b' File "/home/
b' result = matchee()'
b' File "/home/
b' return self._callable_
b' File "/home/
b" 'found' % domain_name)"
b' File "/home/
b' if self.message and kwargs:'
b"Attribute
Changed in virtualbmc: | |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
importance: | Undecided → Low |
summary: |
- PEP8 fails for Python 3 + Fix Python3 unitests/syntax checker |
description: | updated |
Changed in virtualbmc: | |
status: | New → Fix Committed |
status: | Fix Committed → Fix Released |
This issue was fixed in the openstack/ virtualbmc 1.0.0 release.