2 new revisions:
Revision: d6fe4c145b8f
Author: Janne Härkönen <[email protected]>
Date: Mon Sep 19 05:09:00 2011
Log: remote: removed tests for init args
http://code.google.com/p/robotframework/source/detail?r=d6fe4c145b8f
Revision: 0d0c4a6a99dc
Author: Janne Härkönen <[email protected]>
Date: Mon Sep 19 05:09:16 2011
Log: Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=0d0c4a6a99dc
==============================================================================
Revision: d6fe4c145b8f
Author: Janne Härkönen <[email protected]>
Date: Mon Sep 19 05:09:00 2011
Log: remote: removed tests for init args
http://code.google.com/p/robotframework/source/detail?r=d6fe4c145b8f
Modified:
/tools/remoteserver/test/unit/test_argsdocs.py
=======================================
--- /tools/remoteserver/test/unit/test_argsdocs.py Fri Sep 16 01:07:39 2011
+++ /tools/remoteserver/test/unit/test_argsdocs.py Mon Sep 19 05:09:00 2011
@@ -69,26 +69,11 @@
def test_keyword_args_when_no_args(self):
self._test_args('no_doc_or_args', [])
- def test_init_args(self):
- self._test_args('__init__', ['i1', 'i2=1', '*i3'])
-
- def test_init_args_when_old_style_lib_has_no_init(self):
- class OldStyleLibraryWithoutInit: pass
- self._test_args('__init__', [], OldStyleLibraryWithoutInit())
-
- def test_init_args_when_new_style_lib_has_no_init(self):
- class NewStyleLibraryWithoutInit(object): pass
- self._test_args('__init__', [], NewStyleLibraryWithoutInit())
-
- def test_keyword_doc_from_module_keyword(self):
+ def test_keyword_args_from_module_keyword(self):
import test_argsdocs
self._test_args('keyword_in_module', ['m1', 'm2=3', '*m3'],
test_argsdocs)
- def test_init_args_from_module(self):
- import test_argsdocs
- self._test_args('__init__', [], test_argsdocs)
-
def _test_args(self, name, expected,
library=LibraryWithArgsAndDocs(None)):
server = NonServingRemoteServer(library)
self.assertEquals(server.get_keyword_arguments(name), expected)
==============================================================================
Revision: 0d0c4a6a99dc
Author: Janne Härkönen <[email protected]>
Date: Mon Sep 19 05:09:16 2011
Log: Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=0d0c4a6a99dc