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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
erp5
Commits
a0096bef
Commit
a0096bef
authored
Oct 26, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
There is no special handling of passed strings.
parent
3299f278
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py
...e_payment/TestTemplateItem/testERP5PayzenSecurePayment.py
+0
-10
bt5/erp5_payzen_secure_payment/bt/revision
bt5/erp5_payzen_secure_payment/bt/revision
+1
-1
No files found.
bt5/erp5_payzen_secure_payment/TestTemplateItem/testERP5PayzenSecurePayment.py
View file @
a0096bef
...
@@ -145,16 +145,6 @@ class TestERP5PayzenSecurePayment(TestERP5PayzenSecurePaymentMixin):
...
@@ -145,16 +145,6 @@ class TestERP5PayzenSecurePayment(TestERP5PayzenSecurePaymentMixin):
# dict was updated
# dict was updated
self
.
assertEqual
(
d
[
'key'
],
now
)
self
.
assertEqual
(
d
[
'key'
],
now
)
def
test_getSignature_dict_date_as_string
(
self
):
now
=
DateTime
.
DateTime
()
d
=
{
'keyDaTe'
:
now
.
strftime
(
'%Y-%m-%d %H:%M:%S'
)}
self
.
assertEqual
(
self
.
service
.
_getSignature
(
d
,
[
'keyDaTe'
]),
sha1
(
now
.
strftime
(
'%Y%m%d'
)
+
'+'
+
self
.
service_password
)
)
# dict was updated with passed format
self
.
assertEqual
(
d
[
'keyDaTe'
],
now
.
strftime
(
'%Y-%m-%dT%H:%M:%S'
))
def
test_navigate
(
self
):
def
test_navigate
(
self
):
self
.
service
.
edit
(
self
.
service
.
edit
(
link_url_string
=
'http://payzen/'
,
link_url_string
=
'http://payzen/'
,
...
...
bt5/erp5_payzen_secure_payment/bt/revision
View file @
a0096bef
45
46
\ 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