From 8b9f59ba944eb5291e8700c1af24310d22857e23 Mon Sep 17 00:00:00 2001 From: kongr45gpen Date: Wed, 7 Dec 2016 19:35:39 +0200 Subject: Add support for AppVeyor notifications Implements #12 --- test.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test.py') 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') -- cgit v1.2.3