aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-12-07 19:35:39 +0200
committerkongr45gpen <electrovesta@gmail.com>2016-12-07 19:35:39 +0200
commit8b9f59ba944eb5291e8700c1af24310d22857e23 (patch)
treef7b990886a8626c9e2db5f66a6a12a634e319baa /test.py
parentf161a009ceeb3970f5bed2bc569bb0696e2001c8 (diff)
downloadsupybot_github-8b9f59ba944eb5291e8700c1af24310d22857e23.tar.gz
supybot_github-8b9f59ba944eb5291e8700c1af24310d22857e23.tar.bz2
supybot_github-8b9f59ba944eb5291e8700c1af24310d22857e23.zip
Add support for AppVeyor notifications
Implements #12
Diffstat (limited to 'test.py')
-rw-r--r--test.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/test.py b/test.py
index 7c455a6..e52e099 100644
--- a/test.py
+++ b/test.py
@@ -84,6 +84,20 @@ class GithubTestCase(ExpectationPluginTestCase):
self.assertError('get second message')
+ def testAppVeyor(self):
+ self.sendRequest('appveyor')
+
+ self.describe('first message',
+ it().should.contain('pullr1 @ test'),
+ it().should.contain('failed'),
+ it().should.contain('3be0d'),
+ it().should.contain('alezakos'),
+ it().should.contain('Update README.md'),
+ it().should.contain('https://ci.appveyor.com/project/kongr45gpen/test/build/1.0.2')
+ )
+
+ self.assertError('get second message')
+
def testCreateTag(self):
self.sendRequest('create-tag')

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