diff options
Diffstat (limited to 'tests/test_tsafe.py')
-rw-r--r-- | tests/test_tsafe.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/test_tsafe.py b/tests/test_tsafe.py deleted file mode 100644 index 8ffe35a..0000000 --- a/tests/test_tsafe.py +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (C) Jean-Paul Calderone -# See LICENSE for details. - -""" -Unit tests for `OpenSSL.tsafe`. -""" - -from OpenSSL.SSL import TLSv1_METHOD, Context -from OpenSSL.tsafe import Connection - - -class TestConnection(object): - """ - Tests for `OpenSSL.tsafe.Connection`. - """ - def test_instantiation(self): - """ - `OpenSSL.tsafe.Connection` can be instantiated. - """ - # The following line should not throw an error. This isn't an ideal - # test. It would be great to refactor the other Connection tests so - # they could automatically be applied to this class too. - Connection(Context(TLSv1_METHOD), None) |