mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:00:44 +02:00
test using os.path.sep not hardcoded / (#3920)
This commit is contained in:
committed by
Peter Eckersley
parent
27525fb205
commit
16361bfd06
@@ -383,7 +383,7 @@ class RenameLineageTest(BaseCertManagerTest):
|
||||
mock_config.new_certname = "example.org"
|
||||
self.assertRaises(errors.ConfigurationError, self._call, mock_config)
|
||||
|
||||
mock_config.new_certname = "one/two"
|
||||
mock_config.new_certname = "one{0}two".format(os.path.sep)
|
||||
self.assertRaises(errors.ConfigurationError, self._call, mock_config)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user