'Test if multiple problems are present in usage info when they use same
content group.'

def test_can_use_one_content_group_in_multiple_problems(self):

    self._add_user_partitions(scheme_id='cohort')
    (vertical, __) = self._create_problem_with_content_group(cid=0, group_id=1, name_suffix='0')
    (vertical1, __) = self._create_problem_with_content_group(cid=0, group_id=1, name_suffix='1')
    actual = self._get_user_partition('cohort')
    expected = self._get_expected_content_group(usage_for_group=[{'url': '/container/{}'.format(vertical1.location), 'label': 'Test    Unit    1    /    Test    Problem    1'}, {'url': '/container/{}'.format(vertical.location), 'label': 'Test    Unit    0    /    Test    Problem    0'}])
    self.assertEqual(actual, expected)
