mirror of
https://github.com/certbot/certbot.git
synced 2026-04-20 21:58:54 -04:00
Remove unicode_support/ path in test case
This commit is contained in:
parent
c3cfd412c9
commit
22685ef86f
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue