From 52d209d0538dacfbbc271aea5ba60ceaa614c86d Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 7 May 2013 07:55:56 -0400 Subject: [PATCH] Use coffee installed in local node_modules for tests --- common/lib/capa/capa/tests/test_responsetypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/capa/capa/tests/test_responsetypes.py b/common/lib/capa/capa/tests/test_responsetypes.py index da3d45ad74..5fbc7f8c87 100644 --- a/common/lib/capa/capa/tests/test_responsetypes.py +++ b/common/lib/capa/capa/tests/test_responsetypes.py @@ -708,7 +708,7 @@ class JavascriptResponseTest(ResponseTest): def test_grade(self): # Compile coffee files into javascript used by the response coffee_file_path = os.path.dirname(__file__) + "/test_files/js/*.coffee" - os.system("coffee -c %s" % (coffee_file_path)) + os.system("node_modules/.bin/coffee -c %s" % (coffee_file_path)) problem = self.build_problem(generator_src="test_problem_generator.js", grader_src="test_problem_grader.js",