We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc61b8 commit 9974818Copy full SHA for 9974818
tests/test_tls.py
@@ -1,8 +1,4 @@
1
from nose.tools import (
2
- assert_true,
3
- assert_false,
4
- assert_equal,
5
- assert_list_equal,
6
raises,
7
)
8
import datajoint as dj
@@ -18,7 +14,7 @@ def test_secure_connection():
18
14
.query("SHOW STATUS LIKE 'Ssl_cipher';")
19
15
.fetchone()[1]
20
16
21
- assert_true(len(result) > 0)
17
+ assert len(result) > 0
22
23
@staticmethod
24
def test_insecure_connection():
@@ -27,7 +23,7 @@ def test_insecure_connection():
27
28
29
25
30
- assert_equal(result, "")
26
+ assert result == ""
31
32
33
@raises(OperationalError)
0 commit comments