Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
f1d157f8
Commit
f1d157f8
authored
Sep 01, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cover another case: no tic between uploads.
parent
c47e573d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
bt5/erp5_web_shacache/TestTemplateItem/testShaCache.py
bt5/erp5_web_shacache/TestTemplateItem/testShaCache.py
+11
-0
bt5/erp5_web_shacache/bt/revision
bt5/erp5_web_shacache/bt/revision
+1
-1
No files found.
bt5/erp5_web_shacache/TestTemplateItem/testShaCache.py
View file @
f1d157f8
...
@@ -137,4 +137,15 @@ class TestShaCache(ShaCacheMixin, ERP5TypeTestCase):
...
@@ -137,4 +137,15 @@ class TestShaCache(ShaCacheMixin, ERP5TypeTestCase):
self
.
assertEquals
(
'published'
,
document2
.
getValidationState
())
self
.
assertEquals
(
'published'
,
document2
.
getValidationState
())
self
.
assertEquals
(
'archived'
,
document
.
getValidationState
())
self
.
assertEquals
(
'archived'
,
document
.
getValidationState
())
def
test_put_file_twice_no_tic
(
self
):
self
.
postFile
()
transaction
.
commit
()
self
.
postFile
()
transaction
.
commit
()
self
.
tic
()
document_list
=
self
.
portal
.
portal_catalog
(
reference
=
self
.
key
)
self
.
assertEqual
(
2
,
len
(
document_list
))
self
.
assertEqual
(
sorted
([
'archived'
,
'published'
]),
sorted
([
q
.
getValidationState
()
for
q
in
document_list
]))
bt5/erp5_web_shacache/bt/revision
View file @
f1d157f8
61
62
\ No newline at end of file
\ 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