summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_gitlab.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2020-04-06 09:40:35 +0200
committerGitHub <noreply@github.com>2020-04-06 09:40:35 +0200
commitc161852b5a976d11f682c5af00ff3f4e8daa26ef (patch)
treecb2b89648e7f3678e0e6bfb47f60f77979296f99 /gitlab/tests/test_gitlab.py
parentfa34f5e20ecbd3f5d868df2fa9e399ac6559c5d5 (diff)
parent847da6063b4c63c8133e5e5b5b45e5b4f004bdc4 (diff)
downloadgitlab-c161852b5a976d11f682c5af00ff3f4e8daa26ef.tar.gz
Merge pull request #1063 from python-gitlab/feat/group-import-export
Feat: support for group import/export API
Diffstat (limited to 'gitlab/tests/test_gitlab.py')
-rw-r--r--gitlab/tests/test_gitlab.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/gitlab/tests/test_gitlab.py b/gitlab/tests/test_gitlab.py
index d104c7d..8261cc6 100644
--- a/gitlab/tests/test_gitlab.py
+++ b/gitlab/tests/test_gitlab.py
@@ -626,23 +626,6 @@ class TestGitlab(unittest.TestCase):
self.assertIsInstance(statistics, ProjectIssuesStatistics)
self.assertEqual(statistics.statistics["counts"]["all"], 20)
- def test_groups(self):
- @urlmatch(
- scheme="http", netloc="localhost", path="/api/v4/groups/1", method="get"
- )
- def resp_get_group(url, request):
- headers = {"content-type": "application/json"}
- content = '{"name": "name", "id": 1, "path": "path"}'
- content = content.encode("utf-8")
- return response(200, content, headers, None, 5, request)
-
- with HTTMock(resp_get_group):
- data = self.gl.groups.get(1)
- self.assertIsInstance(data, Group)
- self.assertEqual(data.name, "name")
- self.assertEqual(data.path, "path")
- self.assertEqual(data.id, 1)
-
def test_issues(self):
@urlmatch(
scheme="http", netloc="localhost", path="/api/v4/issues", method="get"