summaryrefslogtreecommitdiff
path: root/test/test_obs_source_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_obs_source_api.py')
-rw-r--r--test/test_obs_source_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_obs_source_api.py b/test/test_obs_source_api.py
index c8b7ec6..47df73f 100644
--- a/test/test_obs_source_api.py
+++ b/test/test_obs_source_api.py
@@ -17,7 +17,7 @@ def test_source_put_meta():
with open(os.path.join(modpath, 'obsapi_test_prj_meta.xml')) as f:
xml = f.read().replace('__PRJ__', prj)
response = sourceapi.put_meta(prj, xml)
- assert '<status code="ok">' in response.content
+ assert '<status code="ok">' in str(response.content)
def test_source_get_prj():