Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
c7a4b1ef
Commit
c7a4b1ef
authored
Jun 13, 2011
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix testWebSection_getDocumentUrl
parent
27509ec9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py
bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py
+2
-2
bt5/erp5_web_ung_theme/bt/revision
bt5/erp5_web_ung_theme/bt/revision
+1
-1
No files found.
bt5/erp5_web_ung_theme/TestTemplateItem/testUNG.py
View file @
c7a4b1ef
...
@@ -271,11 +271,11 @@ class TestUNG(ERP5TypeTestCase):
...
@@ -271,11 +271,11 @@ class TestUNG(ERP5TypeTestCase):
self
.
stepTic
()
self
.
stepTic
()
kw
=
dict
(
brain
=
web_illustration
)
kw
=
dict
(
brain
=
web_illustration
)
url
=
self
.
portal
.
WebSection_getDocumentUrl
(
**
kw
)
url
=
self
.
portal
.
WebSection_getDocumentUrl
(
**
kw
)
pattern
=
"^http.*
\
/we
b
_page_module
\
/[
0
-9]+
\
/We
b
Illustration_viewEditor
\
?edi
t
able_mode
\
:i
n
t
\
=
1
"
pattern
=
"^http.*
\
/we
b
_page_module
\
/[
0
-9]+
\
?edi
t
able_mode
\
:i
n
t
\
=
1
"
self
.
assertNotEquals
(
re
.
search
(
pattern
,
url
),
None
)
self
.
assertNotEquals
(
re
.
search
(
pattern
,
url
),
None
)
kw
=
dict
(
brain
=
web_page
)
kw
=
dict
(
brain
=
web_page
)
url
=
self
.
portal
.
WebSection_getDocumentUrl
(
**
kw
)
url
=
self
.
portal
.
WebSection_getDocumentUrl
(
**
kw
)
pattern
=
"^http.*
\
/we
b
_page_module
\
/[
0
-9]+
\
/We
b
Page_viewEditor
\
?edi
t
able_mode
\
:i
n
t
\
=
1
"
pattern
=
"^http.*
\
/we
b
_page_module
\
/[
0
-9]+
\
?edi
t
able_mode
\
:i
n
t
\
=
1
"
self
.
assertNotEquals
(
re
.
search
(
pattern
,
url
),
None
,
url
)
self
.
assertNotEquals
(
re
.
search
(
pattern
,
url
),
None
,
url
)
def
testBase_updateCalendarEventList
(
self
):
def
testBase_updateCalendarEventList
(
self
):
...
...
bt5/erp5_web_ung_theme/bt/revision
View file @
c7a4b1ef
369
370
\ No newline at end of file
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