From dd10a136bd5d1fdb271e8a65f819da64bfeb377d Mon Sep 17 00:00:00 2001 From: Peter Melnichenko Date: Sat, 30 Apr 2016 20:57:32 +0300 Subject: [PATCH] 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. --- .gitignore | 1 + test/cli_test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3522b8e..9bdcde7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ dist .coverage test/here test/builds +test/luarocks diff --git a/test/cli_test.py b/test/cli_test.py index 0d1d8fb..c1f4b93 100644 --- a/test/cli_test.py +++ b/test/cli_test.py @@ -90,7 +90,7 @@ class TestCLI(unittest.TestCase): ["compat: none) (cached)"]) 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([ "git", "clone", "https://github.com/keplerproject/luarocks", "--depth=1", local_luarocks], from_prefix=False)