[Checkins] SVN: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/ removed
Andreas Jung
andreas at andreas-jung.com
Sat May 16 01:22:46 EDT 2009
Log message for revision 99997:
removed
Changed:
D zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/__init__.py
D zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app.py
D zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app.txt
D zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app_templates/
D zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/configure.zcml
D zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/ftesting.zcml
D zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/static/
D zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py
-=-
Deleted: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/__init__.py
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/__init__.py 2009-05-16 05:18:57 UTC (rev 99996)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/__init__.py 2009-05-16 05:22:45 UTC (rev 99997)
@@ -1 +0,0 @@
-# this directory is a package
Deleted: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app.py
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app.py 2009-05-16 05:18:57 UTC (rev 99996)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app.py 2009-05-16 05:22:45 UTC (rev 99997)
@@ -1,7 +0,0 @@
-import grok
-
-class Zopyx_smartprintng_server(grok.Application, grok.Container):
- pass
-
-class Index(grok.View):
- pass # see app_templates/index.pt
Deleted: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app.txt
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app.txt 2009-05-16 05:18:57 UTC (rev 99996)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/app.txt 2009-05-16 05:22:45 UTC (rev 99997)
@@ -1,32 +0,0 @@
-Do a functional doctest test on the app.
-========================================
-
-:Test-Layer: functional
-
-Let's first create an instance of Zopyx_smartprintng_server at the top level:
-
- >>> from zopyx_smartprintng_server.app import Zopyx_smartprintng_server
- >>> root = getRootFolder()
- >>> root['app'] = Zopyx_smartprintng_server()
-
-
-Run tests in the testbrowser
-----------------------------
-
-The zope.testbrowser.browser module exposes a Browser class that
-simulates a web browser similar to Mozilla Firefox or IE. We use that
-to test how our application behaves in a browser. For more
-information, see http://pypi.python.org/pypi/zope.testbrowser.
-
-Create a browser and visit the instance you just created:
-
- >>> from zope.testbrowser.testing import Browser
- >>> browser = Browser()
- >>> browser.open('http://localhost/app')
-
-Check some basic information about the page you visit:
-
- >>> browser.url
- 'http://localhost/app'
- >>> browser.headers.get('Status').upper()
- '200 OK'
Deleted: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/configure.zcml
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/configure.zcml 2009-05-16 05:18:57 UTC (rev 99996)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/configure.zcml 2009-05-16 05:22:45 UTC (rev 99997)
@@ -1,6 +0,0 @@
-<configure xmlns="http://namespaces.zope.org/zope"
- xmlns:grok="http://namespaces.zope.org/grok">
- <include package="grok" />
- <includeDependencies package="." />
- <grok:grok package="." />
-</configure>
Deleted: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/ftesting.zcml
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/ftesting.zcml 2009-05-16 05:18:57 UTC (rev 99996)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/ftesting.zcml 2009-05-16 05:22:45 UTC (rev 99997)
@@ -1,34 +0,0 @@
-<configure
- xmlns="http://namespaces.zope.org/zope"
- i18n_domain="zopyx_smartprintng_server"
- package="zopyx_smartprintng_server"
- >
-
- <include package="zopyx_smartprintng_server" />
-
- <!-- Typical functional testing security setup -->
- <securityPolicy
- component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
- />
-
- <unauthenticatedPrincipal
- id="zope.anybody"
- title="Unauthenticated User"
- />
- <grant
- permission="zope.View"
- principal="zope.anybody"
- />
-
- <principal
- id="zope.mgr"
- title="Manager"
- login="mgr"
- password="mgrpw"
- />
-
- <role id="zope.Manager" title="Site Manager" />
- <grantAll role="zope.Manager" />
- <grant role="zope.Manager" principal="zope.mgr" />
-
-</configure>
Deleted: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py 2009-05-16 05:18:57 UTC (rev 99996)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/tests.py 2009-05-16 05:22:45 UTC (rev 99997)
@@ -1,12 +0,0 @@
-import os.path
-import z3c.testsetup
-import zopyx_smartprintng_server
-from zope.app.testing.functional import ZCMLLayer
-
-
-ftesting_zcml = os.path.join(
- os.path.dirname(zopyx_smartprintng_server.__file__), 'ftesting.zcml')
-FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
- allow_teardown=True)
-
-test_suite = z3c.testsetup.register_all_tests('zopyx_smartprintng_server')
More information about the Checkins
mailing list