def test_post_duplicate(self):
        self._login_user(admin=True)
        self._post_repository(False)
        self._post_repository(False, expected_status=409)
Testing the POST repositories/ API with a duplicate repository
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_repository.py/ResourceListTests.test_post_duplicate