mirror of
https://github.com/certbot/certbot.git
synced 2026-07-29 17:37:05 +02:00
Do not use deprecated assertion functions
This commit is contained in:
@@ -150,7 +150,7 @@ class CentOS6Tests(util.ApacheTest):
|
||||
self.config.save()
|
||||
pre_loadmods = self.config.parser.find_dir(
|
||||
"LoadModule", "ssl_module", start=self.vh_truth[1].path, exclude=False)
|
||||
self.assertEquals(len(pre_loadmods), 2)
|
||||
self.assertEqual(len(pre_loadmods), 2)
|
||||
# The ssl.conf now has two LoadModule directives, one inside of
|
||||
# !mod_ssl.c IfModule
|
||||
self.config.assoc["test.example.com"] = self.vh_truth[0]
|
||||
@@ -161,7 +161,7 @@ class CentOS6Tests(util.ApacheTest):
|
||||
# Ensure that the additional LoadModule wasn't written into the IfModule
|
||||
post_loadmods = self.config.parser.find_dir(
|
||||
"LoadModule", "ssl_module", start=self.vh_truth[1].path, exclude=False)
|
||||
self.assertEquals(len(post_loadmods), 1)
|
||||
self.assertEqual(len(post_loadmods), 1)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user