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
517a18bb
Commit
517a18bb
authored
Jun 19, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around strange test isolation issue
parent
d2b68599
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
src/App/ApplicationManager.py
src/App/ApplicationManager.py
+2
-2
src/App/tests/test_ApplicationManager.py
src/App/tests/test_ApplicationManager.py
+1
-2
No files found.
src/App/ApplicationManager.py
View file @
517a18bb
...
...
@@ -211,10 +211,10 @@ class DebugManager(Item, Implicit):
rd
=
[]
for
n
,
c
in
nc
.
items
():
try
:
prev
=
rc
[
n
]
prev
=
rc
.
get
(
n
,
0
)
if
c
>
prev
:
rd
.
append
((
c
-
prev
,
(
c
,
prev
,
n
)))
except
:
except
Exception
:
pass
rd
.
sort
()
rd
.
reverse
()
...
...
src/App/tests/test_ApplicationManager.py
View file @
517a18bb
...
...
@@ -229,9 +229,8 @@ class DebugManagerTests(unittest.TestCase):
dm
.
rcsnapshot
()
Foo
,
Bar
,
Baz
=
self
.
_makeModuleClasses
()
mappings
=
dm
.
rcdeltas
()
self
.
assertEqual
(
len
(
mappings
),
1
)
self
.
failUnless
(
len
(
mappings
)
)
mapping
=
mappings
[
0
]
self
.
assertEqual
(
mapping
[
'name'
],
'ExtensionClass.Base'
)
self
.
failUnless
(
'rc'
in
mapping
)
self
.
failUnless
(
'pc'
in
mapping
)
self
.
assertEqual
(
mapping
[
'delta'
],
mapping
[
'rc'
]
-
mapping
[
'pc'
])
...
...
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