summaryrefslogtreecommitdiff
path: root/test/test_api.py
diff options
context:
space:
mode:
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'