From 20056690507c2a69bfdb307ae5ade414dac5a795 Mon Sep 17 00:00:00 2001 From: kongr45gpen Date: Mon, 13 Nov 2017 01:26:35 +0200 Subject: Improve issues theme Closes #10 Closes #11 --- test.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test.py') 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') -- cgit v1.2.3