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
07720848
Commit
07720848
authored
Dec 12, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Service_getPriceCalculationOperandDict.
parent
3b06ecd3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccounting.py
...lapos_accounting/TestTemplateItem/testSlapOSAccounting.py
+16
-0
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
master/bt5/slapos_accounting/bt/template_test_id_list
master/bt5/slapos_accounting/bt/template_test_id_list
+1
-0
No files found.
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccounting.py
0 → 100644
View file @
07720848
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2012 Nexedi SA and Contributors. All Rights Reserved.
#
##############################################################################
from
Products.SlapOS.tests.testSlapOSMixin
import
\
testSlapOSMixin
,
withAbort
class
TestSlapOSAccounting
(
testSlapOSMixin
):
@
withAbort
def
test_Service_getPriceCalculationOperandDict
(
self
):
service
=
self
.
portal
.
service_module
.
newContent
(
portal_type
=
'Service'
)
self
.
assertEqual
({
'price'
:
0.0
},
service
.
Service_getPriceCalculationOperandDict
())
master/bt5/slapos_accounting/bt/revision
View file @
07720848
209
\ No newline at end of file
210
\ No newline at end of file
master/bt5/slapos_accounting/bt/template_test_id_list
View file @
07720848
testSlapOSAccounting
testSlapOSAccountingAlarm
testSlapOSAccountingBuilder
testSlapOSAccountingConstraint
...
...
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