Skip to content

Commit

Permalink
fix test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Sep 20, 2024
1 parent 2b91214 commit 50dc983
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions st2common/tests/unit/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,7 @@ def test_get_tls_kwargs(self):

# 4c. tls_certificate_key_file_password provided without tls_certificate_key_file
tls_kwargs = _get_tls_kwargs(tls_certificate_key_file_password="pass")
self.assertEqual(
tls_kwargs,
{
"tls": True,
"tlsAllowInvalidHostnames": False,
},
)
self.assertEqual(tls_kwargs, {"tls": False})

# 5. tls_ca_file provided
tls_kwargs = _get_tls_kwargs(tls_ca_file="/tmp/ca_certs")
Expand Down

0 comments on commit 50dc983

Please sign in to comment.