Make tests pass when running on cms

This commit is contained in:
Calen Pennington
2012-06-18 13:21:06 -04:00
parent 328b2df7c5
commit 5404345b1f
26 changed files with 57 additions and 64 deletions

View File

@@ -66,7 +66,7 @@ end
desc "Run all django tests on our djangoapps for the #{system}"
task task_name => report_dir do
ENV['NOSE_XUNIT_FILE'] = File.join(report_dir, "nosetests.xml")
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