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
Nicolas Wavrant
slapos.core
Commits
f6ab16a0
Commit
f6ab16a0
authored
Jul 26, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: slapos_invoicing_instance was removed
parent
c477c47e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.py
...tal_components/test.erp5.testSlapOSERP5DefaultScenario.py
+2
-10
No files found.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5DefaultScenario.py
View file @
f6ab16a0
...
@@ -301,7 +301,7 @@ class TestSlapOSDefaultScenario(DefaultScenarioMixin):
...
@@ -301,7 +301,7 @@ class TestSlapOSDefaultScenario(DefaultScenarioMixin):
def
personRequestInstance
(
self
,
**
kw
):
def
personRequestInstance
(
self
,
**
kw
):
response
=
self
.
portal
.
portal_slap
.
requestComputerPartition
(
**
kw
)
response
=
self
.
portal
.
portal_slap
.
requestComputerPartition
(
**
kw
)
self
.
assertTrue
(
isinstance
(
response
,
str
))
self
.
assertTrue
(
isinstance
(
response
,
str
)
,
"response is not a string: %s"
%
response
)
software_instance
=
xml_marshaller
.
xml_marshaller
.
loads
(
response
)
software_instance
=
xml_marshaller
.
xml_marshaller
.
loads
(
response
)
self
.
assertEqual
(
'SoftwareInstance'
,
software_instance
.
__class__
.
__name__
)
self
.
assertEqual
(
'SoftwareInstance'
,
software_instance
.
__class__
.
__name__
)
self
.
tic
()
self
.
tic
()
...
@@ -811,10 +811,6 @@ class TestSlapOSDefaultScenario(DefaultScenarioMixin):
...
@@ -811,10 +811,6 @@ class TestSlapOSDefaultScenario(DefaultScenarioMixin):
self
.
stepCallSlaposTriggerBuildAlarm
()
self
.
stepCallSlaposTriggerBuildAlarm
()
self
.
tic
()
self
.
tic
()
# build other deliveries
self
.
stepCallSlaposInstanceInvoicingAlarm
()
self
.
tic
()
# stabilise build deliveries and expand them
# stabilise build deliveries and expand them
self
.
stepCallSlaposManageBuildingCalculatingDeliveryAlarm
()
self
.
stepCallSlaposManageBuildingCalculatingDeliveryAlarm
()
self
.
tic
()
self
.
tic
()
...
@@ -922,7 +918,7 @@ class TestSlapOSDefaultCRMEscalation(DefaultScenarioMixin):
...
@@ -922,7 +918,7 @@ class TestSlapOSDefaultCRMEscalation(DefaultScenarioMixin):
# is covered by unit tests
# is covered by unit tests
packing_list_line_list
=
subscription
.
getAggregateRelatedValueList
(
packing_list_line_list
=
subscription
.
getAggregateRelatedValueList
(
portal_type
=
'Sale Packing List Line'
)
portal_type
=
'Sale Packing List Line'
)
self
.
assert
True
(
len
(
packing_list_line_list
)
>=
2
)
self
.
assert
Equals
(
len
(
packing_list_line_list
),
1
)
for
packing_list_line
in
packing_list_line_list
:
for
packing_list_line
in
packing_list_line_list
:
packing_list
=
packing_list_line
.
getParentValue
()
packing_list
=
packing_list_line
.
getParentValue
()
self
.
assertEqual
(
'Sale Packing List'
,
self
.
assertEqual
(
'Sale Packing List'
,
...
@@ -1127,10 +1123,6 @@ class TestSlapOSDefaultCRMEscalation(DefaultScenarioMixin):
...
@@ -1127,10 +1123,6 @@ class TestSlapOSDefaultCRMEscalation(DefaultScenarioMixin):
self
.
stepCallSlaposTriggerBuildAlarm
()
self
.
stepCallSlaposTriggerBuildAlarm
()
self
.
tic
()
self
.
tic
()
# build other deliveries
self
.
stepCallSlaposInstanceInvoicingAlarm
()
self
.
tic
()
# stabilise build deliveries and expand them
# stabilise build deliveries and expand them
self
.
stepCallSlaposManageBuildingCalculatingDeliveryAlarm
()
self
.
stepCallSlaposManageBuildingCalculatingDeliveryAlarm
()
self
.
tic
()
self
.
tic
()
...
...
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