Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Léo-Paul Géneau
slapos.core
Commits
f9e55b28
Commit
f9e55b28
authored
Nov 22, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup test.
PaymentTransaction_getTotalPayablePrice returns negative value.
parent
13453383
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
master/bt5/slapos_erp5/TestTemplateItem/testSlapOSERP5DefaultScenario.py
...os_erp5/TestTemplateItem/testSlapOSERP5DefaultScenario.py
+2
-1
master/bt5/slapos_erp5/bt/revision
master/bt5/slapos_erp5/bt/revision
+1
-1
No files found.
master/bt5/slapos_erp5/TestTemplateItem/testSlapOSERP5DefaultScenario.py
View file @
f9e55b28
...
...
@@ -420,7 +420,7 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
self
.
assertSameSet
([
payment
.
getRelativeUrl
()],
invoice
.
getCausalityRelatedList
(
portal_type
=
self
.
portal
.
getPortalDeliveryTypeList
()))
self
.
assertEqual
(
payment
.
PaymentTransaction_getTotalPayablePrice
(),
self
.
assertEqual
(
-
1
*
payment
.
PaymentTransaction_getTotalPayablePrice
(),
invoice
.
getTotalPrice
())
def
assertOpenSaleOrderCoverage
(
self
,
person_reference
):
...
...
@@ -643,3 +643,4 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
default_destination_section_uid
=
person
.
getUid
()):
self
.
assertHostingSubscriptionSimulationCoverage
(
subscription
.
getObject
())
self
.
assertTrue
(
False
)
master/bt5/slapos_erp5/bt/revision
View file @
f9e55b28
102
\ No newline at end of file
103
\ 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