Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:
addons:
mariadb: '10.0'
hosts:
- le.wtf
- le2.wtf
- le.example.org
- le2.example.org
- boulder
- boulder-mysql
- boulder-rabbitmq
Expand Down
10 changes: 6 additions & 4 deletions simp_le.py
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,9 @@ class IntegrationTests(unittest.TestCase):
"""Integrations tests with Boulder.

Prerequisites:
- /etc/hosts:127.0.0.1 le.wtf
- /etc/hosts:
- 127.0.0.1 le.example.org
- 127.0.0.1 le2.example.org
- Boulder running on localhost:4000
- Boulder verifying http-01 on port 5002
"""
Expand Down Expand Up @@ -1508,7 +1510,7 @@ def _single_path_stats(path):
def test_it(self):
webroot = os.path.join(os.getcwd(), 'public_html')
args = ('--server %s --tos_sha256 %s -f account_key.json '
'-f key.pem -f full.pem -d le.wtf:%s' % (
'-f key.pem -f full.pem -d le.example.org:%s' % (
self.SERVER, self.TOS_SHA256, webroot))
files = ('account_key.json', 'key.pem', 'full.pem')
with self._new_swd():
Expand All @@ -1527,8 +1529,8 @@ def test_it(self):
self.assertEqual(initial_stats, self.get_stats(*files))

# Changing SANs should trigger "renewal"
self.assertEqual(
EXIT_RENEWAL, self._run('%s -d le2.wtf:%s' % (args, webroot)))
self.assertEqual(EXIT_RENEWAL, self._run(
'%s -d le2.example.org:%s' % (args, webroot)))


if __name__ == '__main__':
Expand Down