diff options
author | kongr45gpen <electrovesta@gmail.com> | 2017-11-13 01:26:35 +0200 |
---|---|---|
committer | kongr45gpen <electrovesta@gmail.com> | 2017-11-13 01:26:35 +0200 |
commit | 20056690507c2a69bfdb307ae5ade414dac5a795 (patch) | |
tree | 8575544ab2346cc3eabdb5c8e87dcd3d33a62106 /test.py | |
parent | 1a87997aa49a8a3931525c910400bf8db141ddb7 (diff) | |
download | supybot_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.py | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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') |