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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
20cc9380
Commit
20cc9380
authored
Jun 10, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set & Check proper category in test.
parent
1ed1c52f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5OOo/tests/testIngestion.py
product/ERP5OOo/tests/testIngestion.py
+2
-2
No files found.
product/ERP5OOo/tests/testIngestion.py
View file @
20cc9380
...
@@ -1454,7 +1454,7 @@ class TestIngestion(ERP5TypeTestCase):
...
@@ -1454,7 +1454,7 @@ class TestIngestion(ERP5TypeTestCase):
# create an user to simulate upload from him
# create an user to simulate upload from him
user
=
self
.
createUser
(
reference
=
'contributor1'
)
user
=
self
.
createUser
(
reference
=
'contributor1'
)
organisation
=
self
.
portal
.
organisation_module
.
newContent
(
**
dict
(
group
=
'anybody'
,
organisation
=
self
.
portal
.
organisation_module
.
newContent
(
**
dict
(
group
=
'anybody'
,
site
=
'
site/
arctic/spitsbergen'
))
site
=
'arctic/spitsbergen'
))
user
.
setSubordinationValue
(
organisation
)
user
.
setSubordinationValue
(
organisation
)
portal
.
document_module
.
manage_setLocalRoles
(
'contributor1'
,
[
'Assignor'
,])
portal
.
document_module
.
manage_setLocalRoles
(
'contributor1'
,
[
'Assignor'
,])
...
@@ -1465,7 +1465,7 @@ class TestIngestion(ERP5TypeTestCase):
...
@@ -1465,7 +1465,7 @@ class TestIngestion(ERP5TypeTestCase):
self
.
stepTic
()
self
.
stepTic
()
self
.
assertEquals
(
document
.
getFilename
(),
'TEST-en-002.doc'
)
self
.
assertEquals
(
document
.
getFilename
(),
'TEST-en-002.doc'
)
self
.
assertEquals
(
'anybody'
,
document
.
getGroup
())
self
.
assertEquals
(
'anybody'
,
document
.
getGroup
())
self
.
assertEquals
(
'
site/
arctic/spitsbergen'
,
document
.
getSite
())
self
.
assertEquals
(
'arctic/spitsbergen'
,
document
.
getSite
())
def
test_IngestionConfigurationByTypeBasedMethod_usecase1
(
self
):
def
test_IngestionConfigurationByTypeBasedMethod_usecase1
(
self
):
"""How to configure meta data discovery so that each time a file
"""How to configure meta data discovery so that each time a 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