From 6f29ff1727f490e41787a893a0e46c06871041ce Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sun, 19 Jun 2016 20:53:14 +0200 Subject: Add support for label (un)subscribe --- tools/python_test.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/python_test.py') diff --git a/tools/python_test.py b/tools/python_test.py index d09d24b..90587ac 100644 --- a/tools/python_test.py +++ b/tools/python_test.py @@ -163,6 +163,10 @@ assert(len(admin_project.labels.list()) == 1) label1.new_name = 'label1updated' label1.save() assert(label1.name == 'label1updated') +label1.subscribe() +assert(label1.subscribed == True) +label1.unsubscribe() +assert(label1.subscribed == False) label1.delete() # milestones -- cgit v1.2.1