summaryrefslogtreecommitdiff
path: root/tools/python_test.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2016-05-13 19:07:48 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2016-05-13 19:07:48 +0200
commit1de6b7e7641f2c0cb101a82385cee569aa786e3f (patch)
tree832c5258a16d2c83e70a243db8c1b623bfa89959 /tools/python_test.py
parent24c283f5861f21e51489afc815bd9f31bff58bee (diff)
downloadgitlab-1de6b7e7641f2c0cb101a82385cee569aa786e3f.tar.gz
implement star/unstar for projects
Diffstat (limited to 'tools/python_test.py')
-rw-r--r--tools/python_test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/python_test.py b/tools/python_test.py
index d071435..d09d24b 100644
--- a/tools/python_test.py
+++ b/tools/python_test.py
@@ -228,3 +228,9 @@ try:
mr.merge()
except gitlab.GitlabMRClosedError:
pass
+
+# stars
+admin_project = admin_project.star()
+assert(admin_project.star_count == 1)
+admin_project = admin_project.unstar()
+assert(admin_project.star_count == 0)