Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
c4c3b0e6
Commit
c4c3b0e6
authored
Jul 31, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We don't need products anymore
parent
4ec0d20a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
src/Products/ZCatalog/tests/test_catalog.py
src/Products/ZCatalog/tests/test_catalog.py
+0
-9
No files found.
src/Products/ZCatalog/tests/test_catalog.py
View file @
c4c3b0e6
...
...
@@ -41,10 +41,6 @@ from Products.ZCTextIndex.ZCTextIndex import ZCTextIndex
def
createDatabase
():
# XXX We have to import and init products in order for PluginIndexes to
# be registered.
OFS
.
Application
.
import_products
()
# Create a DemoStorage and put an Application in it
db
=
DB
(
DemoStorage
())
conn
=
db
.
open
()
...
...
@@ -52,11 +48,6 @@ def createDatabase():
app
=
OFS
.
Application
.
Application
()
root
[
'Application'
]
=
app
transaction
.
commit
()
# Init products
#OFS.Application.initialize(app)
OFS
.
Application
.
install_products
(
app
)
# XXX: this is still icky
return
app
app
=
createDatabase
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment