diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-28 00:50:49 +0100 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2022-05-29 16:56:36 -0700 |
commit | df072e130aa145a368bbdd10be98208a25100f89 (patch) | |
tree | d52fc1a500bc510a76bea8dba4d7b304a66b83df /gitlab/config.py | |
parent | c51b538caae0a94d936d94d6da60c362492f9403 (diff) | |
download | gitlab-df072e130aa145a368bbdd10be98208a25100f89.tar.gz |
test(gitlab): increase unit test coverage
Diffstat (limited to 'gitlab/config.py')
-rw-r--r-- | gitlab/config.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gitlab/config.py b/gitlab/config.py index c85d7e5..337a265 100644 --- a/gitlab/config.py +++ b/gitlab/config.py @@ -154,7 +154,7 @@ class GitlabConfigParser: # CA bundle. try: self.ssl_verify = _config.get("global", "ssl_verify") - except Exception: + except Exception: # pragma: no cover pass except Exception: pass @@ -166,7 +166,7 @@ class GitlabConfigParser: # CA bundle. try: self.ssl_verify = _config.get(self.gitlab_id, "ssl_verify") - except Exception: + except Exception: # pragma: no cover pass except Exception: pass @@ -197,7 +197,9 @@ class GitlabConfigParser: try: self.http_username = _config.get(self.gitlab_id, "http_username") - self.http_password = _config.get(self.gitlab_id, "http_password") + self.http_password = _config.get( + self.gitlab_id, "http_password" + ) # pragma: no cover except Exception: pass |