[Checkins]
SVN: grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/
Moved another ftest that isn't really an ftest to the unit tests.
Philipp von Weitershausen
philikon at philikon.de
Sat Aug 25 07:36:34 EDT 2007
Log message for revision 79250:
Moved another ftest that isn't really an ftest to the unit tests.
Changed:
D grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/ftests/catalog/indexes_module.py
A grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/tests/catalog/indexes_module.py
-=-
Deleted: grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/ftests/catalog/indexes_module.py
===================================================================
--- grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/ftests/catalog/indexes_module.py 2007-08-25 11:26:56 UTC (rev 79249)
+++ grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/ftests/catalog/indexes_module.py 2007-08-25 11:36:33 UTC (rev 79250)
@@ -1,16 +0,0 @@
-"""
-You can create an index on module level, but that should lead to a GrokError:
-
- >>> import grok
- >>> from grok.ftests.catalog.indexes_module import func
- >>> func()
- Traceback (most recent call last):
- ...
- GrokImportError: <class 'grok.index.Field'> can only be instantiated on
- class level.
-"""
-from grok import index
-
-def func():
- foo = index.Field()
-
Copied: grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/tests/catalog/indexes_module.py (from rev 79219, grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/ftests/catalog/indexes_module.py)
===================================================================
--- grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/tests/catalog/indexes_module.py (rev 0)
+++ grok/branches/philikon-ftest-layer-does-fixture-setup/src/grok/tests/catalog/indexes_module.py 2007-08-25 11:36:33 UTC (rev 79250)
@@ -0,0 +1,14 @@
+"""
+You can create an index on module level, but that should lead to a GrokError:
+
+ >>> func()
+ Traceback (most recent call last):
+ ...
+ GrokImportError: <class 'grok.index.Field'> can only be instantiated on
+ class level.
+"""
+from grok import index
+
+def func():
+ foo = index.Field()
+
More information about the Checkins
mailing list