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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
a21060b9
Commit
a21060b9
authored
Feb 09, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testERP5Core: py3
parent
bbaaca10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testERP5Core.py
...tTemplateItem/portal_components/test.erp5.testERP5Core.py
+2
-2
No files found.
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testERP5Core.py
View file @
a21060b9
...
@@ -644,7 +644,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -644,7 +644,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
self
.
portal
.
absolute_url
(),
self
.
portal
.
absolute_url
(),
headers
=
{
headers
=
{
'Authorization'
:
'Basic %s'
%
\
'Authorization'
:
'Basic %s'
%
\
base64
.
b64encode
(
self
.
auth
)
base64
.
b64encode
(
self
.
auth
.
encode
()).
decode
(
)
}
}
)
)
response
=
connection
.
getresponse
()
response
=
connection
.
getresponse
()
...
@@ -725,7 +725,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -725,7 +725,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
self
.
assertEqual
(
"""Path,Id,Title,Short Title,Reference,Codification,Int Index,Description
self
.
assertEqual
(
"""Path,Id,Title,Short Title,Reference,Codification,Int Index,Description
*,bar,Bar,SBar,,,3,desc
*,bar,Bar,SBar,,,3,desc
*,foo,Foo,,Rfoo,CFoo,,
*,foo,Foo,,Rfoo,CFoo,,
"""
,
csv_data
)
"""
,
csv_data
.
decode
()
)
def
test_ERP5Site_reindexLatestIndexedObjects
(
self
):
def
test_ERP5Site_reindexLatestIndexedObjects
(
self
):
module
=
self
.
portal
.
newContent
(
portal_type
=
'Folder'
,
id
=
'test_folder'
)
module
=
self
.
portal
.
newContent
(
portal_type
=
'Folder'
,
id
=
'test_folder'
)
...
...
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