diff options
author | Shreya <a.shreya202@gmail.com> | 2022-10-29 00:54:57 +0530 |
---|---|---|
committer | Nejc Habjan <nejc.habjan@siemens.com> | 2022-11-01 09:59:05 +0100 |
commit | 6fcf3b68be095e614b969f5922ad8a67978cd4db (patch) | |
tree | e567469a20428d43c9e1d5a6f95f5da19ecb6cb3 /tests/functional/api/test_statistics.py | |
parent | bd82d745c8ea9ff6ff078a4c961a2d6e64a2f63c (diff) | |
download | gitlab-6fcf3b68be095e614b969f5922ad8a67978cd4db.tar.gz |
feat(api): add application statistics
Diffstat (limited to 'tests/functional/api/test_statistics.py')
-rw-r--r-- | tests/functional/api/test_statistics.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/functional/api/test_statistics.py b/tests/functional/api/test_statistics.py new file mode 100644 index 0000000..ee0f4a9 --- /dev/null +++ b/tests/functional/api/test_statistics.py @@ -0,0 +1,12 @@ +""" +GitLab API: https://docs.gitlab.com/ee/api/statistics.html +""" + + +def test_get_statistics(gl): + statistics = gl.statistics.get() + + assert statistics.snippets.isdigit() + assert statistics.users.isdigit() + assert statistics.groups.isdigit() + assert statistics.projects.isdigit() |