mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Add assertNotHTTPResponse to HTTP unit tests.
This commit is contained in:
parent
f4b81659af
commit
0e61cf9837
@ -585,6 +585,10 @@ class HTTPPluginTestCase(PluginTestCase):
|
||||
response = self.request(uri, read=False, **kwargs)
|
||||
self.assertEqual(response, expectedResponse)
|
||||
|
||||
def assertNotHTTPResponse(self, irc, expectedResponse, **kwargs):
|
||||
response = self.request(uri, read=False, **kwargs)
|
||||
self.assertNotEqual(response, expectedResponse)
|
||||
|
||||
class ChannelHTTPPluginTestCase(ChannelPluginTestCase, HTTPPluginTestCase):
|
||||
def setUp(self):
|
||||
ChannelPluginTestCase.setUp(self, forceSetup=True)
|
||||
|
@ -1,3 +1,3 @@
|
||||
"""stick the various versioning attributes in here, so we only have to change
|
||||
them once."""
|
||||
version = '0.83.4.1+limnoria (2011-07-03T16:16:19+0200)'
|
||||
version = '0.83.4.1+limnoria (2011-07-03T17:09:53+0200)'
|
||||
|
Loading…
Reference in New Issue
Block a user