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
cd6ff5d9
Commit
cd6ff5d9
authored
Nov 27, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated test for & vs. & change to encodeUrl.
parent
d0055a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/Products/Sessions/tests/testBrowserIdManager.py
lib/python/Products/Sessions/tests/testBrowserIdManager.py
+3
-3
No files found.
lib/python/Products/Sessions/tests/testBrowserIdManager.py
View file @
cd6ff5d9
...
...
@@ -85,9 +85,9 @@
"""
Test suite for session id manager.
$Id: testBrowserIdManager.py,v 1.
5 2001/11/21 22:36:21
chrism Exp $
$Id: testBrowserIdManager.py,v 1.
6 2001/11/27 03:46:33
chrism Exp $
"""
__version__
=
"$Revision: 1.
5
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.
6
$"
[
11
:
-
2
]
import
sys
if
__name__
==
"__main__"
:
...
...
@@ -344,7 +344,7 @@ class TestBrowserIdManager(TestCase):
assert
r
==
'%s?%s=%s'
%
(
u
,
keystring
,
key
)
u
=
'http://www.zope.org/Members/mcdonc?foo=bar&spam=eggs'
r
=
self
.
m
.
encodeUrl
(
u
)
assert
r
==
'%s&%s=%s'
%
(
u
,
keystring
,
key
)
assert
r
==
'%s&
amp;
%s=%s'
%
(
u
,
keystring
,
key
)
def
test_suite
():
testsuite
=
makeSuite
(
TestBrowserIdManager
,
'test'
)
...
...
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