delete sleep use hooks path
@@ -2,7 +2,6 @@ import os
import shutil
import unittest
import zipfile
-from time import sleep
from mock import patch
@@ -380,10 +379,9 @@ class Pkg(ConanFile):
# Without checkout
self.client.run('config install "%s/.git"' % folder)
- sleep(1)
check_path = os.path.join(folder, ".git")
self._check("git:[%s, None]" % check_path)
- file_path = os.path.join(self.client.client_cache.conan_folder, "hooks", "cust", "cust.py")
+ file_path = os.path.join(self.client.client_cache.hooks_path, "cust", "cust.py")
self.assertFalse(os.path.exists(file_path))
# With checkout tag and reuse url
self.client.run('config install --args="-b 0.0.1"')
