Jasmine tests, fix some review issues

This commit is contained in:
Vik Paruchuri
2013-05-20 15:31:56 -04:00
parent 7699c1794c
commit 23269359c1
6 changed files with 165 additions and 5 deletions

View File

@@ -217,8 +217,8 @@ def get_module_for_descriptor(user, request, descriptor, model_data_cache, cours
#this first checks to see if the descriptor is the correct one, and only sends settings if it is
#Get descriptor metadata fields indicating needs for various settings
needs_open_ended_interface = hasattr(descriptor, "needs_open_ended_interface") and descriptor.needs_open_ended_interface
needs_s3_interface = hasattr(descriptor, "needs_s3_interface") and descriptor.needs_s3_interface
needs_open_ended_interface = hasattr(descriptor, "needs_open_ended_interface", False)
needs_s3_interface = hasattr(descriptor, "needs_s3_interface", False)
#Initialize interfaces to None
open_ended_grading_interface = None