diff options
| author | Scott Bahling <sbahling@suse.com> | 2020-01-21 13:05:55 +0100 |
|---|---|---|
| committer | Scott Bahling <sbahling@suse.com> | 2020-01-21 13:06:58 +0100 |
| commit | fe0af7003bbb783814c50f317d35aadc45c82fc6 (patch) | |
| tree | 46edefab532074b9d96db5104495e7406a0a02f2 /test | |
| parent | 51812adc8e9dcadaf7b57d866c41f43bc05fefd2 (diff) | |
| download | obsapi-fe0af7003bbb783814c50f317d35aadc45c82fc6.tar.gz obsapi-fe0af7003bbb783814c50f317d35aadc45c82fc6.tar.xz obsapi-fe0af7003bbb783814c50f317d35aadc45c82fc6.zip | |
PEP8
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_api.py b/test/test_api.py index 45ad05b..8a81e7c 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -12,7 +12,7 @@ arch = 'x86_64' def test_get_package_meta(): try: response = etree.fromstring(api.get_meta(prj=prj, pkg=pkg)) - except: + except Exception: response = {} assert response.get('name', None) == 'suse-hello-1.0' |
