'Test that confirms correct operation of grading when the inputtag is
radiotextgroup.'

def test_radio_grades(self):

    for (name, inputs) in self.TEST_INPUTS.iteritems():
        submission = self._make_answer_dict(inputs)
        (problem_name, correctness) = self.TEST_SCENARIOS[name]
        problem_args = self.TEST_PROBLEM_ARGS[problem_name]
        test_choices = problem_args['choices']
        test_script = problem_args['script']
        test_problem = self._make_problem(test_choices, 'radiotextgroup', test_script)
        self.assert_grade(test_problem, submission, correctness, msg='{0}    should    be    {1}'.format(name, correctness))
