test using os.path.sep not hardcoded / (#3920)

This commit is contained in:
Erica Portnoy 2016-12-15 19:41:42 -08:00 committed by Peter Eckersley
parent 27525fb205
commit 16361bfd06

View file

@ -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)