summaryrefslogtreecommitdiff
path: root/test/test_api.py
diff options
context:
space:
mode:
authorScott Bahling <sbahling@suse.com>2020-01-21 13:05:55 +0100
committerScott Bahling <sbahling@suse.com>2020-01-21 13:06:58 +0100
commitfe0af7003bbb783814c50f317d35aadc45c82fc6 (patch)
tree46edefab532074b9d96db5104495e7406a0a02f2 /test/test_api.py
parent51812adc8e9dcadaf7b57d866c41f43bc05fefd2 (diff)
downloadobsapi-fe0af7003bbb783814c50f317d35aadc45c82fc6.tar.gz
obsapi-fe0af7003bbb783814c50f317d35aadc45c82fc6.tar.xz
obsapi-fe0af7003bbb783814c50f317d35aadc45c82fc6.zip
PEP8
Diffstat (limited to 'test/test_api.py')
-rw-r--r--test/test_api.py2
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'