Skip to content

Commit

Permalink
Fix Issue #34.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKrahl committed Apr 24, 2017
1 parent 0400958 commit 18ebb23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion icat/client.py
Expand Up @@ -174,7 +174,7 @@ def __init__(self, url, **kwargs):
cafile = kwargs.pop('caFile', None)
capath = kwargs.pop('caPath', None)
if 'sslContext' in kwargs:
self.sslContext = kwargs.pop(['sslContext'])
self.sslContext = kwargs.pop('sslContext')
else:
self.sslContext = create_ssl_context(sslverify, cafile, capath)

Expand Down
1 change: 0 additions & 1 deletion tests/test_07_client_options.py
Expand Up @@ -9,7 +9,6 @@
from conftest import getConfig


@pytest.mark.xfail(reason="Issue #34")
def test_client_sslContext_kwarg(setupicat):
"""Set the `sslContext` keyword argument to the Client constructor.
Issue #34.
Expand Down

0 comments on commit 18ebb23

Please sign in to comment.