Move luarocks test repo location

For some reason deleting it from test/builds causes a permission
error on Windows even though it's created from the same nosetest
instance.
This commit is contained in:
Peter Melnichenko 2016-04-30 20:57:32 +03:00
parent ba652ab780
commit dd10a136bd
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ dist
.coverage .coverage
test/here test/here
test/builds test/builds
test/luarocks

View File

@ -90,7 +90,7 @@ class TestCLI(unittest.TestCase):
["compat: none) (cached)"]) ["compat: none) (cached)"])
def test_install_lua_from_given_git_repo_with_luarocks_from_local_sources(self): def test_install_lua_from_given_git_repo_with_luarocks_from_local_sources(self):
local_luarocks = os.path.join("test", "builds", "luarocks") local_luarocks = os.path.join("test", "luarocks")
self.assertSuccess([ self.assertSuccess([
"git", "clone", "https://github.com/keplerproject/luarocks", "git", "clone", "https://github.com/keplerproject/luarocks",
"--depth=1", local_luarocks], from_prefix=False) "--depth=1", local_luarocks], from_prefix=False)