r47130 - Update tests.
adiroiban-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Sat, 2 Apr 2016 17:15:18 -0600 (MDT)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: adiroiban
Date: Sat Apr 2 17:15:00 2016
New Revision: 47130
Modified:
branches/runner-rpcserver-deprecation-8123-2/twisted/runner/test/test_inetdconf.py
branches/runner-rpcserver-deprecation-8123-2/twisted/runner/test/test_inetdtap.py
Log:
Update tests.
Modified: branches/runner-rpcserver-deprecation-8123-2/twisted/runner/test/test_inetdconf.py
==============================================================================
--- branches/runner-rpcserver-deprecation-8123-2/twisted/runner/test/test_inetdconf.py (original)
+++ branches/runner-rpcserver-deprecation-8123-2/twisted/runner/test/test_inetdconf.py Sat Apr 2 17:15:00 2016
@@ -21,8 +21,9 @@
inetdconf.InvalidRPCServicesConfError('any', 'argument')
message = (
- 'twisted.runner.inetdconf.InvalidRPCServicesConfError '
- 'was deprecated in Twisted 16.0.0'
+ 'twisted.runner.inetdconf.InvalidRPCServicesConfError was '
+ 'deprecated in Twisted 16.1.0: '
+ 'The RPC service configuration is no longer maintained.'
)
warnings = self.flushWarnings([self.test_deprecation])
self.assertEqual(1, len(warnings))
@@ -43,8 +44,9 @@
inetdconf.RPCServicesConf()
message = (
- 'twisted.runner.inetdconf.RPCServicesConfTests '
- 'was deprecated in Twisted 16.0.0'
+ 'twisted.runner.inetdconf.RPCServicesConf was deprecated in '
+ 'Twisted 16.1.0: '
+ 'The RPC service configuration is no longer maintained.'
)
warnings = self.flushWarnings([self.test_deprecation])
self.assertEqual(1, len(warnings))
Modified: branches/runner-rpcserver-deprecation-8123-2/twisted/runner/test/test_inetdtap.py
==============================================================================
--- branches/runner-rpcserver-deprecation-8123-2/twisted/runner/test/test_inetdtap.py (original)
+++ branches/runner-rpcserver-deprecation-8123-2/twisted/runner/test/test_inetdtap.py Sat Apr 2 17:15:00 2016
@@ -22,11 +22,11 @@
'some-versions', '/tmp/rpc.conf', 'tcp', 'some-service')
message = (
- 'twisted.runner.inetdtap.RPCServer '
- 'was deprecated in Twisted 16.0.0'
+ 'twisted.runner.inetdtap.RPCServer was deprecated in '
+ 'Twisted 16.1.0: '
+ 'The RPC server is no longer maintained.'
)
warnings = self.flushWarnings([self.test_deprecation])
self.assertEqual(1, len(warnings))
self.assertEqual(DeprecationWarning, warnings[0]['category'])
self.assertEqual(message, warnings[0]['message'])
-