def test_put_with_conflict(self):
        group = self.create_review_group(name='group1')
        group2 = self.create_review_group(name='group2')

        self._login_user(admin=True)
        rsp = self.api_put(
            get_review_group_item_url(group.name),
            {'name': group2.name},
            expected_status=409)

        self.assertEqual(rsp['stat'], 'fail')
        self.assertEqual(rsp['err']['code'], GROUP_ALREADY_EXISTS.code)
Load and return a module based on C{mod_name}.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_review_group.py/ResourceItemTests.test_put_with_conflict--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/util/__init__.py/get_module