diff options
author | Peter Eckersley <pde@eff.org> | 2016-07-30 03:28:29 +0300 |
---|---|---|
committer | Peter Eckersley <pde@eff.org> | 2016-07-30 03:28:29 +0300 |
commit | 61b81b877de5344e5785b6d4933f486ee2370563 (patch) | |
tree | 2e8f0477a72db3055def43fcdb85ac1965e9f5e0 /certbot-nginx/certbot_nginx/tests/parser_test.py | |
parent | 89758decbb2b1b18e8b56c49c73a6cb1c852e5ec (diff) | |
parent | 94ea4246388900f2131df68b9d0aa51a05659c65 (diff) |
Merge remote-tracking branch 'origin/master' into no-conflicting-declarations3
Diffstat (limited to 'certbot-nginx/certbot_nginx/tests/parser_test.py')
-rw-r--r-- | certbot-nginx/certbot_nginx/tests/parser_test.py | 4 |
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 d0bc32297..aec6f2a23 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) |