mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
rmdirs -> shutil.rmtree
This commit is contained in:
parent
ba4a62f185
commit
ccf678f146
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ class TwoVhost80Test(util.ApacheTest):
|
|||
self.assertTrue("mod_ssl.c" in self.config.parser.modules)
|
||||
|
||||
def test_enable_mod_unsupported_dirs(self):
|
||||
os.removedirs(os.path.join(self.config.parser.root, "mods-enabled"))
|
||||
shutil.rmtree(os.path.join(self.config.parser.root, "mods-enabled"))
|
||||
self.assertRaises(
|
||||
errors.NotSupportedError, self.config.enable_mod, "ssl")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue