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
3d98a6dd
Commit
3d98a6dd
authored
Sep 01, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check states of documents.
parent
3b8ea807
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
bt5/erp5_web_shadir/TestTemplateItem/testShaDir.py
bt5/erp5_web_shadir/TestTemplateItem/testShaDir.py
+6
-2
bt5/erp5_web_shadir/bt/revision
bt5/erp5_web_shadir/bt/revision
+1
-1
No files found.
bt5/erp5_web_shadir/TestTemplateItem/testShaDir.py
View file @
3d98a6dd
...
...
@@ -158,8 +158,12 @@ class TestShaDir(ShaDirMixin, ERP5TypeTestCase):
self
.
assertEqual
(
self
.
key
,
data_set
.
getReference
())
self
.
assertEqual
(
'published'
,
data_set
.
getValidationState
())
self
.
assertEqual
(
2
,
self
.
portal
.
portal_catalog
.
countResults
(
reference
=
self
.
sha512sum
)[
0
][
0
])
document_list
=
data_set
.
getFollowUpRelatedValueList
()
self
.
assertEqual
([
self
.
sha512sum
,
self
.
sha512sum
],
[
q
.
getReference
()
for
q
\
in
document_list
])
self
.
assertEqual
(
sorted
([
'published'
,
'archived'
]),
sorted
([
q
.
getValidationState
()
for
q
in
document_list
]))
def
test_get_information_for_single_data_set
(
self
):
"""
...
...
bt5/erp5_web_shadir/bt/revision
View file @
3d98a6dd
60
\ No newline at end of file
61
\ 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