[Python-checkins] r66164 - in sandbox/trunk/ttk-gsoc/src: 2.x/test/README 3.x/test/README

guilherme.polo python-checkins at python.org
Tue Sep 2 23:02:23 CEST 2008


Author: guilherme.polo
Date: Tue Sep  2 23:02:23 2008
New Revision: 66164

Log:
README added for writing new tests, just a reminder right now.

Added:
   sandbox/trunk/ttk-gsoc/src/2.x/test/README
   sandbox/trunk/ttk-gsoc/src/3.x/test/README

Added: sandbox/trunk/ttk-gsoc/src/2.x/test/README
==============================================================================
--- (empty file)
+++ sandbox/trunk/ttk-gsoc/src/2.x/test/README	Tue Sep  2 23:02:23 2008
@@ -0,0 +1,13 @@
+Writing new tests
+=================
+
+Precaution
+----------
+
+   * New tests should always use only one Tk window at once, like all the
+   current tests do. This means that you have to destroy the current window
+   before creating another one, and clean up after the test. The motivation
+   behind this is that some tests may depend on having its window focused while
+   it is running to work properly, and it may be hard to force focus on your
+   window across platforms (right now only test_traversal at test_notebook
+   depends on this).

Added: sandbox/trunk/ttk-gsoc/src/3.x/test/README
==============================================================================
--- (empty file)
+++ sandbox/trunk/ttk-gsoc/src/3.x/test/README	Tue Sep  2 23:02:23 2008
@@ -0,0 +1,13 @@
+Writing new tests
+=================
+
+Precaution
+----------
+
+   * New tests should always use only one Tk window at once, like all the
+   current tests do. This means that you have to destroy the current window
+   before creating another one, and clean up after the test. The motivation
+   behind this is that some tests may depend on having its window focused while
+   it is running to work properly, and it may be hard to force focus on your
+   window across platforms (right now only test_traversal at test_notebook
+   depends on this).


More information about the Python-checkins mailing list