Make tests pass when running on cms

This commit is contained in:
Calen Pennington
2012-06-18 13:21:06 -04:00
committed by Matthew Mongeau
parent d7a8679aae
commit b6514fa5eb
26 changed files with 57 additions and 64 deletions

View File

@@ -67,7 +67,7 @@ end
task task_name => report_dir do
ENV['NOSE_XUNIT_FILE'] = File.join(report_dir, "nosetests.xml")
ENV['NOSE_COVER_HTML_DIR'] = File.join(report_dir, "cover")
sh(django_admin(:lms, :test, 'test', *Dir['lms/djangoapps'].each))
sh(django_admin(system, :test, 'test', *Dir["#{system}/djangoapps/*"].each))
end
task :test => task_name