commit | 4f73e4fe3147e320412e7e794ceb63c1a6f26a46 | [log] [tgz] |
---|---|---|
author | Todd Chapman <chakatodd@users.noreply.github.com> | Thu Aug 27 11:26:43 2015 -0400 |
committer | Todd Chapman <todd@duosecurity.com> | Mon Jan 18 10:16:38 2016 -0500 |
tree | 46938b02065f569f27b49d25ed064482b5f8621e | |
parent | b3316fc4e8ffabce720fa825fccc8fcb2c7256c6 [diff] |
Fixed AttributeError when calling get_app_data()
diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 92dff5f..de144ce 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py
@@ -2401,9 +2401,10 @@ :py:obj:`Connection.get_app_data`. """ conn = Connection(Context(TLSv1_METHOD), None) + assert None is conn.get_app_data() app_data = object() conn.set_app_data(app_data) - self.assertIdentical(conn.get_app_data(), app_data) + assert conn.get_app_data() is app_data def test_makefile(self): """