+ What color is the open ocean on a sunny day?
+
+
+
+ Which piece of furniture is built for sitting?
+
+
+
+ a table
+
+
+ a desk
+
+
+ a chair
+
+
+ a bookshelf
+
+
+
+ Which of the following are musical instruments?
+
+
+ a piano
+ a tree
+ a guitar
+ a window
+
+
+
+ """)
+ module = factory.create()
+
+ answer_input_dict = {
+ factory.input_key(2): 'blue',
+ factory.input_key(3): 'choice_0',
+ factory.input_key(4): ['choice_0', 'choice_1'],
+ }
+
+ event = self.get_event_for_answers(module, answer_input_dict)
+
+ self.assertEquals(event['submission'], {
+ factory.answer_key(2): {
+ 'question': 'What color is the open ocean on a sunny day?',
+ 'answer': 'blue',
+ 'response_type': 'optionresponse',
+ 'input_type': 'optioninput',
+ 'correct': True,
+ 'variant': '',
+ },
+ factory.answer_key(3): {
+ 'question': '',
+ 'answer': u'