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
91537bfa
Commit
91537bfa
authored
Sep 08, 2006
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grumble, file removal didn't merge right.
parent
ec2f4eb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
42 deletions
+0
-42
lib/python/Testing/ZopeTestCase/zopedoctest/test_layerextraction.py
.../Testing/ZopeTestCase/zopedoctest/test_layerextraction.py
+0
-42
No files found.
lib/python/Testing/ZopeTestCase/zopedoctest/test_layerextraction.py
deleted
100644 → 0
View file @
ec2f4eb6
from
Testing.ZopeTestCase
import
ZopeDocFileSuite
as
FileSuite
from
Testing.ZopeTestCase
import
ZopeDocTestSuite
as
TestSuite
from
Testing.ZopeTestCase.ZopeTestCase
import
ZopeTestCase
from
Testing
import
ZopeTestCase
import
transaction
as
txn
class
TestLayer
:
"""
If the layer is extracted properly, we should see the following
variable
>>> getattr(self.app, 'LAYER_EXTRACTED', False)
True
"""
@
classmethod
def
setUp
(
cls
):
app
=
ZopeTestCase
.
app
()
app
.
LAYER_EXTRACTED
=
True
txn
.
commit
()
ZopeTestCase
.
close
(
app
)
@
classmethod
def
tearDown
(
cls
):
app
=
ZopeTestCase
.
app
()
del
app
.
LAYER_EXTRACTED
txn
.
commit
()
ZopeTestCase
.
close
(
app
)
class
TestCase
(
ZopeTestCase
.
ZopeTestCase
):
layer
=
TestLayer
def
test_suite
():
import
unittest
fs
=
FileSuite
(
'layerextraction.txt'
,
test_class
=
TestCase
,
package
=
'Testing.ZopeTestCase.zopedoctest'
)
ts
=
TestSuite
(
'Testing.ZopeTestCase.zopedoctest.test_layerextraction'
,
test_class
=
TestCase
,
)
return
unittest
.
TestSuite
((
fs
,
ts
))
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