aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2017-11-13 01:26:35 +0200
committerkongr45gpen <electrovesta@gmail.com>2017-11-13 01:26:35 +0200
commit20056690507c2a69bfdb307ae5ade414dac5a795 (patch)
tree8575544ab2346cc3eabdb5c8e87dcd3d33a62106 /test.py
parent1a87997aa49a8a3931525c910400bf8db141ddb7 (diff)
downloadsupybot_github-20056690507c2a69bfdb307ae5ade414dac5a795.tar.gz
supybot_github-20056690507c2a69bfdb307ae5ade414dac5a795.tar.bz2
supybot_github-20056690507c2a69bfdb307ae5ade414dac5a795.zip
Improve issues theme
Closes #10 Closes #11
Diffstat (limited to 'test.py')
-rw-r--r--test.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test.py b/test.py
index 9300ca6..443f548 100644
--- a/test.py
+++ b/test.py
@@ -202,6 +202,19 @@ class GithubTestCase(ExpectationPluginTestCase):
it().should.contain('https://github.com/kongr45gpen/test/issues/6#issuecomment-181134370')
)
+ def testIssueSelfAssign(self):
+ self.sendRequest('issue-assign-self')
+
+ self.describe('first message',
+ it().should.contain('kongr45gpen'),
+ it().should.contain('supybot-github'),
+ it().should.contain('self-assigned'),
+ it().should.contain('issue'),
+ it().should.contain('#22'),
+ it().should.contain('Handle duplicate notifications for branches and tags'),
+ it().should.contain('https://github.com/kongr45gpen/supybot-github/issues/22')
+ )
+
def testPullRequestCreate(self):
self.sendRequest('pr-create')

© 2014-2024 Faster IT GmbH | imprint | privacy policy