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
78a6c1ba
Commit
78a6c1ba
authored
Nov 02, 2008
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore nasty product install for standalone runs.
parent
02c910a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
lib/python/Products/Five/browser/tests/test_pages.py
lib/python/Products/Five/browser/tests/test_pages.py
+5
-3
lib/python/Products/Five/browser/tests/test_resource.py
lib/python/Products/Five/browser/tests/test_resource.py
+4
-2
No files found.
lib/python/Products/Five/browser/tests/test_pages.py
View file @
78a6c1ba
...
...
@@ -15,6 +15,7 @@
$Id$
"""
import
unittest
def
test_view_with_unwrapped_context
():
"""
...
...
@@ -65,10 +66,11 @@ def test_view_with_unwrapped_context():
"""
def
test_suite
():
import
unittest
from
Testing.ZopeTestCase
import
ZopeDocTestSuite
from
Testing.ZopeTestCase
import
ZopeDocFileSuite
from
Testing.ZopeTestCase
import
FunctionalDocFileSuite
from
Testing.ZopeTestCase
import
ZopeDocFileSuite
from
Testing.ZopeTestCase
import
ZopeDocTestSuite
from
Testing.ZopeTestCase
import
installProduct
installProduct
(
'PythonScripts'
)
return
unittest
.
TestSuite
((
ZopeDocTestSuite
(),
ZopeDocFileSuite
(
'pages.txt'
,
package
=
'Products.Five.browser.tests'
),
...
...
lib/python/Products/Five/browser/tests/test_resource.py
View file @
78a6c1ba
...
...
@@ -15,11 +15,13 @@
$Id$
"""
import
unittest
def
test_suite
():
import
unittest
from
Testing.ZopeTestCase
import
ZopeDocFileSuite
from
Testing.ZopeTestCase
import
FunctionalDocFileSuite
from
Testing.ZopeTestCase
import
ZopeDocFileSuite
from
Testing.ZopeTestCase
import
installProduct
installProduct
(
'PythonScripts'
)
return
unittest
.
TestSuite
((
ZopeDocFileSuite
(
'resource.txt'
,
package
=
'Products.Five.browser.tests'
),
...
...
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