Revision: 3980
Author: jussi.ao.malinen
Date: Sat Aug 28 08:14:22 2010
Log: cleanup
http://code.google.com/p/robotframework/source/detail?r=3980

Modified:
 /trunk/doc/userguide/src/ExtendingRobotFramework/InternalAPI.txt

=======================================
--- /trunk/doc/userguide/src/ExtendingRobotFramework/InternalAPI.txt Sat Aug 28 08:09:32 2010 +++ /trunk/doc/userguide/src/ExtendingRobotFramework/InternalAPI.txt Sat Aug 28 08:14:22 2010
@@ -66,18 +66,18 @@

Package :code:`robot.parsing` contains tools for parsing and handling test data. :code:`TestCaseFile` and :code:`TestDataDirectory` classes can be instantiated -with parameter :code:`source` to start parsing existing test data. Example below
-shows how to parse names of tests from a test file. For more details please
+with named parameter :code:`source` to start parsing existing test data. Example +below shows how to parse names of tests from a test file. For more details please
 see the source code of Robot Framework directly.

 .. sourcecode:: python

-       from robot.parsing import TestCaseFile
-
-       suite = TestCaseFile(source='path/to/tests.html')
-       print 'Suite: ', suite.name
-       for test in suite.testcase_table:
-               print test.name
+    from robot.parsing import TestCaseFile
+
+    suite = TestCaseFile(source='path/to/tests.html')
+    print 'Suite: ', suite.name
+    for test in suite.testcase_table:
+        print test.name

 Runnable test data
 ~~~~~~~~~~~~~~~~~~

Reply via email to