def test_post_with_conflict(self):
        self._login_user(admin=True)
        group = self.create_review_group()

        rsp = self.api_post(
            get_review_group_list_url(),
            {
                'name': group.name,
                'display_name': 'My Group',
            },
            expected_status=409)

        self.assertEqual(rsp['stat'], 'fail')
        self.assertEqual(rsp['err']['code'], GROUP_ALREADY_EXISTS.code)
Add a CSS class to a string of CSS classes
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_review_group.py/ResourceListTests.test_post_with_conflict--crossover with--dataset/ETHPy150Open dyve/django-bootstrap3/bootstrap3/utils.py/add_css_class