Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed May 25, 2021
1 parent c173e2b commit 92b6df9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/config/test_tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ def test_warn_self_signed(self):

config = {
"tls_certificate_path": os.path.join(config_dir, "cert.pem"),
"tls_fingerprints": [],
}

t = TestConfig()
t.read_config(config, config_dir_path="", data_dir_path="")
t.read_certificate_from_disk(require_cert_and_key=False)
t.read_tls_certificate()

warnings = self.flushWarnings()
self.assertEqual(len(warnings), 1)
Expand Down

0 comments on commit 92b6df9

Please sign in to comment.