diff options
author | kongr45gpen <electrovesta@gmail.com> | 2016-07-17 22:19:27 +0300 |
---|---|---|
committer | kongr45gpen <electrovesta@gmail.com> | 2016-07-17 22:20:19 +0300 |
commit | 8dd785e693406693ca2a1b92efecd1d9e53e17d9 (patch) | |
tree | 8ab21b180f487ffbcbcb9b85db8119f47f432237 /test.py | |
parent | dd39db4330b1dc762c3e0f68f43cfb7b65651aef (diff) | |
download | supybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.tar.gz supybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.tar.bz2 supybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.zip |
Add support for Github releases
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -128,6 +128,19 @@ class GithubTestCase(ExpectationPluginTestCase): it().should.contain('https://github.com/baxterthehacker/public-repo/branches') ) + def testRelease(self): + self.sendRequest('release') + + self.describe('first message', + it().should.contain('myproject'), + it().should.contain('kongr45gpen'), + it().should.contain('prerelease'), + it().should_not.contain('draft'), + it().should.contain('Useless Release'), + it().should.contain('v2.6.5'), + it().should.contain('https://github.com/kongr45gpen/myproject/releases/tag/v2.6.5') + ) + def testPing(self): self.conf('allowArbitraryMessages', False) self.sendRequest('ping') |