'Cannot delete group configuration if it is doesn\'t exist.'

def test_cannot_delete_non_existent_group_configuration(self):

    self._add_user_partitions(count=2)
    response = self.client.delete(self._url(cid=999), content_type='application/json', HTTP_ACCEPT='application/json', HTTP_X_REQUESTED_WITH='XMLHttpRequest')
    self.assertEqual(response.status_code, 404)
    user_partititons = self.course.user_partitions
    self.assertEqual(len(user_partititons), 2)
    self.assertEqual(user_partititons[0].name, 'Name    0')
