Stephan Kulow 8ba4e2fb84 Run the nosetests in a tumbleweed container instead of travis environment
The docker-compose file starts an OBS instance (on 15.0 atm) and runs
the test suite in a test container (tumbleweed), so all tests run in
an isolated environment accessing OBS at api:3000
2019-05-04 15:44:39 +02:00

12 lines
545 B
Diff

--- /usr/lib/python3.6/site-packages/osc/core.py.bak 2019-05-02 18:14:01.088380882 +0000
+++ /usr/lib/python3.6/site-packages/osc/core.py 2019-05-02 18:14:19.204341426 +0000
@@ -6318,7 +6318,7 @@
try:
comment = node.find('comment').text.encode(locale.getpreferredencoding(), 'replace')
except:
- comment = b'<no message>'
+ comment = '<no message>'
try:
requestid = node.find('requestid').text.encode(locale.getpreferredencoding(), 'replace')
except: