unit tests don't pass due to c-h sync bringing in 'apt' compatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceph-Proxy Charm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Essentially, the types have changed a bit, and so the compatibility isn't exact. Ought to fix this in c-h, but will patch in ceph-proxy:
unit_tests.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/home/
b' pkg = cache[package]'
b' File "/home/
b' apt_result = self._apt_
b' File "/home/
b" if line.startswith(' '):"
b'TypeError: startswith first arg must be bytes or a tuple of bytes, not str'
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" hooks.client_
b' File "/home/
b" data = {'key': ceph.get_
b' File "/home/
b' ceph_user(),'
b' File "/home/
b' if get_version() > 1:'
b' File "/home/
b' error_out(e)'
b' File "/home/
b' sys.exit(1)'
b'SystemExit: 1'
b''
Changed in charm-ceph-proxy: | |
status: | New → Fix Released |
milestone: | none → 19.10 |