mirror of
https://github.com/certbot/certbot.git
synced 2026-01-27 19:42:53 +03:00
Remove unicode_support/ path in test case
This commit is contained in:
@@ -485,7 +485,7 @@ class NginxParserTest(util.NginxTest):
|
||||
def test_valid_unicode_characters(self):
|
||||
nparser = parser.NginxParser(self.config_path)
|
||||
# pylint: disable=protected-access
|
||||
path = nparser.abs_path('unicode_support/valid_unicode_comments.conf')
|
||||
path = nparser.abs_path('valid_unicode_comments.conf')
|
||||
parsed = nparser._parse_files(path)
|
||||
self.assertEqual(['server'], parsed[0][2][0])
|
||||
self.assertEqual(['listen', '80'], parsed[0][2][1][3])
|
||||
@@ -493,7 +493,7 @@ class NginxParserTest(util.NginxTest):
|
||||
def test_invalid_unicode_characters(self):
|
||||
nparser = parser.NginxParser(self.config_path)
|
||||
# pylint: disable=protected-access
|
||||
path = nparser.abs_path('unicode_support/invalid_unicode_comments.conf')
|
||||
path = nparser.abs_path('invalid_unicode_comments.conf')
|
||||
parsed = nparser._parse_files(path)
|
||||
self.assertEqual([], parsed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user