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
70b92f39
Commit
70b92f39
authored
Mar 29, 2005
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reenable a test that failed due to bad interaction with ZopeTestCase.
parent
7b10cecd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
lib/python/OFS/tests/testProductInit.py
lib/python/OFS/tests/testProductInit.py
+7
-9
No files found.
lib/python/OFS/tests/testProductInit.py
View file @
70b92f39
...
...
@@ -151,15 +151,13 @@ class TestProductInit( unittest.TestCase ):
self
.
assert_
(
name
in
names
)
self
.
assert_
(
'another'
in
names
)
# DISABLED because ZopeTestCase messes with import_products()
# making the test fail. Consequence of Five integration.
#def test_import_products(self):
# self.makeFakeProducts()
# self.configure(cfg)
# from OFS.Application import import_products
# names = import_products()
# for name in FAKEPRODUCTS:
# assert name in names
def
test_import_products
(
self
):
self
.
makeFakeProducts
()
self
.
configure
(
cfg
)
from
OFS.Application
import
import_products
names
=
import_products
()
for
name
in
FAKEPRODUCTS
:
assert
name
in
names
def
test_import_product_throws
(
self
):
self
.
makeProduct
(
os
.
path
.
join
(
TEMPPRODUCTS
,
'abar'
))
...
...
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