mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Improve coverage
This commit is contained in:
parent
e2fd1369f3
commit
02844904f0
1 changed files with 1 additions and 7 deletions
|
|
@ -115,13 +115,7 @@ class TestRawNginxParser(unittest.TestCase):
|
|||
|
||||
def test_dump_as_file(self):
|
||||
with open(util.get_data_filename('nginx.conf')) as handle:
|
||||
try:
|
||||
parsed = load(handle)
|
||||
except:
|
||||
handle.seek(0)
|
||||
print "Failed on", handle.read()
|
||||
raise
|
||||
#parsed = util.filter_comments(parsed)
|
||||
parsed = load(handle)
|
||||
parsed[-1][-1].append(UnspacedList([['server'],
|
||||
[['listen', ' ', '443 ssl'],
|
||||
['server_name', ' ', 'localhost'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue