diff options
| author | Scott Bahling <sbahling@suse.com> | 2020-01-21 12:49:15 +0100 |
|---|---|---|
| committer | Scott Bahling <sbahling@suse.com> | 2020-01-21 12:49:15 +0100 |
| commit | 51812adc8e9dcadaf7b57d866c41f43bc05fefd2 (patch) | |
| tree | 115b3cc3b8d5e0bb9bed661a06e8a6df3c240d7a /test/test_obs_source_api.py | |
| parent | aab8651b3caf0d06446e750378ef227d1cdbaa35 (diff) | |
| download | obsapi-51812adc8e9dcadaf7b57d866c41f43bc05fefd2.tar.gz obsapi-51812adc8e9dcadaf7b57d866c41f43bc05fefd2.tar.xz obsapi-51812adc8e9dcadaf7b57d866c41f43bc05fefd2.zip | |
Fix some python3 incompatibilities
Diffstat (limited to 'test/test_obs_source_api.py')
| -rw-r--r-- | test/test_obs_source_api.py | 2 |
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(): |
