Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2016-07-19 20:12:47 +0300
committerVille Skyttä <ville.skytta@iki.fi>2016-07-22 09:54:28 +0300
commit86b287b338dd18cb49da9852ee90ef41b04dfbed (patch)
tree70210b69bc9fd617a0e24ee8188adbb115422385 /certbot-nginx/certbot_nginx/tests/parser_test.py
parent68e09aad0fed5c4acc18c2c72ea48454a1d2dc40 (diff)
Use assertEqual instead of deprecated assertEquals
Diffstat (limited to 'certbot-nginx/certbot_nginx/tests/parser_test.py')
-rw-r--r--certbot-nginx/certbot_nginx/tests/parser_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/certbot-nginx/certbot_nginx/tests/parser_test.py b/certbot-nginx/certbot_nginx/tests/parser_test.py
index 464d717ed..77b4a877a 100644
--- a/certbot-nginx/certbot_nginx/tests/parser_test.py
+++ b/certbot-nginx/certbot_nginx/tests/parser_test.py
@@ -117,9 +117,9 @@ class NginxParserTest(util.NginxTest):
fooconf = [x for x in vhosts if 'foo.conf' in x.filep][0]
self.assertEqual(vhost5, fooconf)
localhost = [x for x in vhosts if 'localhost' in x.names][0]
- self.assertEquals(vhost1, localhost)
+ self.assertEqual(vhost1, localhost)
somename = [x for x in vhosts if 'somename' in x.names][0]
- self.assertEquals(vhost2, somename)
+ self.assertEqual(vhost2, somename)
def test_add_server_directives(self):
nparser = parser.NginxParser(self.config_path, self.ssl_options)