diff options
| author | Nejc Habjan <hab.nejc@gmail.com> | 2021-12-11 15:33:39 +0100 |
|---|---|---|
| committer | John Villalovos <john@sodarock.com> | 2021-12-11 10:25:08 -0800 |
| commit | e3035a799a484f8d6c460f57e57d4b59217cd6de (patch) | |
| tree | c6c37fb24df6da686f070bc55ddcafaab76250ff /tests/unit | |
| parent | 49af15b3febda5af877da06c3d8c989fbeede00a (diff) | |
| download | gitlab-e3035a799a484f8d6c460f57e57d4b59217cd6de.tar.gz | |
chore(api): temporarily remove topic delete endpoint
It is not yet available upstream.
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/objects/test_topics.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/unit/objects/test_topics.py b/tests/unit/objects/test_topics.py index 14b2cfd..c0654ac 100644 --- a/tests/unit/objects/test_topics.py +++ b/tests/unit/objects/test_topics.py @@ -75,19 +75,6 @@ def resp_update_topic(): yield rsps -@pytest.fixture -def resp_delete_topic(no_content): - with responses.RequestsMock() as rsps: - rsps.add( - method=responses.DELETE, - url=topic_url, - json=no_content, - content_type="application/json", - status=204, - ) - yield rsps - - def test_list_topics(gl, resp_list_topics): topics = gl.topics.list() assert isinstance(topics, list) @@ -112,8 +99,3 @@ def test_update_topic(gl, resp_update_topic): topic.name = new_name topic.save() assert topic.name == new_name - - -def test_delete_topic(gl, resp_delete_topic): - topic = gl.topics.get(1, lazy=True) - topic.delete() |
