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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
f78959fb
Commit
f78959fb
authored
Jan 15, 2025
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*: use more generic name
This prevents updates after change the system
parent
762bc534
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
41 additions
and
41 deletions
+41
-41
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingBuilder.py
...ortal_components/test.erp5.testSlapOSAccountingBuilder.py
+1
-1
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingRule.py
...m/portal_components/test.erp5.testSlapOSAccountingRule.py
+6
-6
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSConsumptionSkins.py
...portal_components/test.erp5.testSlapOSConsumptionSkins.py
+1
-1
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.SlapOSTestCaseDefaultScenarioMixin.py
...omponents/test.erp5.SlapOSTestCaseDefaultScenarioMixin.py
+1
-1
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloud.py
...mplateItem/portal_components/test.erp5.testSlapOSCloud.py
+5
-5
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudAlarm.py
...eItem/portal_components/test.erp5.testSlapOSCloudAlarm.py
+8
-8
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudAllocationAlarm.py
...al_components/test.erp5.testSlapOSCloudAllocationAlarm.py
+1
-1
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudComputeNodeSlapInterfaceWorkflow.py
...t.erp5.testSlapOSCloudComputeNodeSlapInterfaceWorkflow.py
+1
-1
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudInstanceSlapInterfaceWorkflow.py
...test.erp5.testSlapOSCloudInstanceSlapInterfaceWorkflow.py
+2
-2
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudPersonSlapInterfaceWorkflow.py
...s/test.erp5.testSlapOSCloudPersonSlapInterfaceWorkflow.py
+1
-1
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
...ateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
+1
-1
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMMonitoringAlarm.py
...rtal_components/test.erp5.testSlapOSCRMMonitoringAlarm.py
+1
-1
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
...ateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
+1
-1
master/bt5/slapos_jio/TestTemplateItem/portal_components/test.erp5.testSlapOSHalJsonStyleSkins.py
...ortal_components/test.erp5.testSlapOSHalJsonStyleSkins.py
+2
-2
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSUIHalStyle.py
...al_components/test.erp5.testFunctionalSlapOSUIHalStyle.py
+1
-1
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSUIZHHalStyle.py
..._components/test.erp5.testFunctionalSlapOSUIZHHalStyle.py
+1
-1
master/bt5/slapos_panel_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSPanelStyle.py
...al_components/test.erp5.testFunctionalSlapOSPanelStyle.py
+1
-1
master/bt5/slapos_pdm/TestTemplateItem/portal_components/test.erp5.testSlapOSPDMCreateUpgradeDecisionSkins.py
...ents/test.erp5.testSlapOSPDMCreateUpgradeDecisionSkins.py
+1
-1
master/bt5/slapos_pdm/TestTemplateItem/portal_components/test.erp5.testSlapOSPDMDestroySoftwareInstallation.py
...nts/test.erp5.testSlapOSPDMDestroySoftwareInstallation.py
+1
-1
master/bt5/slapos_pdm/TestTemplateItem/portal_components/test.erp5.testSlapOSPDMSkins.py
...ateItem/portal_components/test.erp5.testSlapOSPDMSkins.py
+1
-1
master/bt5/slapos_slap_tool/TestTemplateItem/portal_components/test.erp5.testSlapOSSlapTool.py
...ateItem/portal_components/test.erp5.testSlapOSSlapTool.py
+1
-1
master/product/SlapOS/tests/testSlapOSMixin.py
master/product/SlapOS/tests/testSlapOSMixin.py
+2
-2
No files found.
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingBuilder.py
View file @
f78959fb
...
...
@@ -13,7 +13,7 @@ def convertCategoryList(base, l):
class
TestSlapOSBuilderMixin
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
checkSimulationMovement
(
self
,
simulation_movement
):
self
.
assertEqual
(
1.0
,
simulation_movement
.
getDeliveryRatio
())
...
...
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingRule.py
View file @
f78959fb
...
...
@@ -28,7 +28,7 @@ def getSimulationStatePlannedDelivered(self, *args, **kwargs):
return
'planned'
class
TestDefaultInvoiceTransactionRule
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
@
withAbort
def
test_simulation
(
self
):
...
...
@@ -171,7 +171,7 @@ class TestDefaultInvoiceTransactionRule(SlapOSTestCaseMixin):
class
TestDefaultInvoiceRule
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
@
withAbort
def
test_simulation
(
self
):
...
...
@@ -253,7 +253,7 @@ class TestDefaultInvoiceRule(SlapOSTestCaseMixin):
class
TestDefaultInvoicingRule
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
@
withAbort
def
test_simulation
(
self
):
...
...
@@ -387,7 +387,7 @@ class TestDefaultInvoicingRule(SlapOSTestCaseMixin):
.
original_getSimulationState
class
TestDefaultPaymentRule
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
@
withAbort
def
test_simulation
(
self
):
...
...
@@ -865,7 +865,7 @@ class TestDefaultTradeModelRule(SlapOSTestCaseMixin):
.
original_getSimulationState
class
TestDefaultDeliveryRule
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
test
(
self
):
resource
,
_
,
_
,
_
,
_
,
aggregate
=
self
.
bootstrapAllocableInstanceTree
(
is_accountable
=
True
)
...
...
@@ -959,7 +959,7 @@ class TestDefaultDeliveryRule(SlapOSTestCaseMixin):
for
q
in
simulation_movement
.
contentValues
(
portal_type
=
'Applied Rule'
)])
class
TestDefaultDeliveryRuleConsumption
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
test
(
self
):
resource
,
_
,
_
,
_
,
_
,
aggregate
=
self
.
bootstrapAllocableInstanceTree
(
is_accountable
=
True
)
...
...
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSConsumptionSkins.py
View file @
f78959fb
...
...
@@ -257,7 +257,7 @@ class TestSlapOSComputerConsumptionTioXMLFile_parseXml(SlapOSTestCaseMixinWithAb
class
TestSlapOSComputerConsumptionTioXMLFile_solveInvoicingGeneration
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
createTioXMLFile
(
self
):
document
=
self
.
portal
.
consumption_document_module
.
newContent
(
...
...
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.SlapOSTestCaseDefaultScenarioMixin.py
View file @
f78959fb
...
...
@@ -30,7 +30,7 @@ from AccessControl.SecurityManagement import getSecurityManager, \
class
DefaultScenarioMixin
(
TestSlapOSSecurityMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
TestSlapOSSecurityMixin
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloud.py
View file @
f78959fb
...
...
@@ -52,7 +52,7 @@ def _decode_with_json(value):
class
TestSlapOSCloudSlapOSCacheMixin
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
@@ -432,7 +432,7 @@ class TestBase_isValidXml(SlapOSTestCaseMixinWithAbort):
class
TestSlapOSCloudSoftwareInstance
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
@@ -663,7 +663,7 @@ class TestSlapOSCloudSoftwareInstance(
class
TestSlapOSCloudSlaveInstance
(
TestSlapOSCloudSoftwareInstance
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
_skipTest
(
self
):
pass
...
...
@@ -683,7 +683,7 @@ class TestSlapOSCloudSlaveInstance(
class
TestSlapOSCloudSlapOSComputeNodeMixin_getCacheComputeNodeInformation
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
@@ -897,7 +897,7 @@ class TestSlapOSCloudSlapOSComputeNodeMixin_getCacheComputeNodeInformation(
self
.
assertEqual
(
0
,
len
(
self
.
portal
.
portal_activities
.
getMessageList
()))
class
TestSlapOSCloudInstanceInvalidRequest
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudAlarm.py
View file @
f78959fb
...
...
@@ -7,7 +7,7 @@ from erp5.component.module.DateUtils import addToDate
class
TestSlapOSCoreSlapOSAssertInstanceTreeSuccessorAlarm
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
#################################################################
# slapos_cloud_create_missing_subscription_assignment
#################################################################
...
...
@@ -244,7 +244,7 @@ class TestSlapOSCoreSlapOSAssertInstanceTreeSuccessorAlarm(SlapOSTestCaseMixin):
class
TestSlapOSFreeComputePartitionAlarm
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
#################################################################
# slapos_free_compute_partition
#################################################################
...
...
@@ -483,7 +483,7 @@ class TestSlapOSFreeComputePartitionAlarm(SlapOSTestCaseMixin):
class
TestSlapOSGarbageCollectDestroyedRootTreeAlarm
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
#################################################################
# slapos_garbage_collect_destroyed_root_tree
#################################################################
...
...
@@ -601,7 +601,7 @@ class TestSlapOSGarbageCollectDestroyedRootTreeAlarm(SlapOSTestCaseMixin):
class
TestSlapOSUpdateComputeNodeCapacityScopeAlarm
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
#################################################################
# slapos_update_compute_node_capacity_scope
#################################################################
...
...
@@ -832,7 +832,7 @@ class TestSlapOSUpdateComputeNodeCapacityScopeAlarm(SlapOSTestCaseMixin):
class
TestSlapOSGarbageCollectStoppedRootTreeAlarm
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
#################################################################
# slapos_stop_collect_instance
#################################################################
...
...
@@ -899,7 +899,7 @@ class TestSlapOSGarbageCollectStoppedRootTreeAlarm(SlapOSTestCaseMixin):
class
TestSlapOSGarbageCollectNonAllocatedRootTreeAlarm
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
#################################################################
# slapos_garbage_collect_non_allocated_root_tree
#################################################################
...
...
@@ -1114,7 +1114,7 @@ class TestSlapOSGarbageCollectNonAllocatedRootTreeAlarm(SlapOSTestCaseMixin):
class
TestSlapOSInvalidateDestroyedInstance
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
#################################################################
# slapos_cloud_invalidate_destroyed_instance
#################################################################
...
...
@@ -1292,7 +1292,7 @@ class TestSlapOSInvalidateDestroyedInstance(SlapOSTestCaseMixin):
class
TestSlapOSPropagateRemoteNodeInstance
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
#################################################################
# slapos_cloud_propagate_remote_node_instance
...
...
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudAllocationAlarm.py
View file @
f78959fb
...
...
@@ -6,7 +6,7 @@ from unittest import skip
class
TestSlapOSAllocation
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
makeAllocableComputeNode
(
self
,
project
,
software_product
,
release_variation
,
type_variation
):
...
...
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudComputeNodeSlapInterfaceWorkflow.py
View file @
f78959fb
...
...
@@ -26,7 +26,7 @@ from cryptography.x509.oid import NameOID
class
TestSlapOSCoreComputeNodeSlapInterfaceWorkflow
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudInstanceSlapInterfaceWorkflow.py
View file @
f78959fb
...
...
@@ -28,7 +28,7 @@ from cryptography.x509.oid import NameOID
class
TestSlapOSCoreInstanceSlapInterfaceWorkflow
(
SlapOSTestCaseMixin
):
"""Tests instance.requestInstance"""
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
@@ -1053,7 +1053,7 @@ class TestSlapOSCoreInstanceSlapInterfaceWorkflow(SlapOSTestCaseMixin):
class
TestSlapOSCoreInstanceSlapInterfaceWorkflowTransfer
(
SlapOSTestCaseMixin
):
"""Tests instance.requestTransfer"""
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_cloud/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudPersonSlapInterfaceWorkflow.py
View file @
f78959fb
...
...
@@ -25,7 +25,7 @@ from AccessControl.SecurityManagement import getSecurityManager, \
class
TestSlapOSCorePersonRequest
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
View file @
f78959fb
...
...
@@ -1032,7 +1032,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort):
class
TestSlapOSCrmDeleteInstanceTree
(
SlapOSTestCaseMixinWithAbort
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
createRegularisationRequest
(
self
):
new_id
=
self
.
generateNewId
()
...
...
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMMonitoringAlarm.py
View file @
f78959fb
...
...
@@ -603,7 +603,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeProjectState(TestSlapOSCrmMonitorin
class
TestSlapOSCrmMonitoringCheckComputeNodeState
(
TestSlapOSCrmMonitoringMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
##########################################################################
# ComputeNode_checkProjectMontoringState > ComputeNode_checkMonitoringState
##########################################################################
...
...
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMSkins.py
View file @
f78959fb
...
...
@@ -229,7 +229,7 @@ class TestCRMPropertySheetConstraint(SlapOSTestCaseMixin):
class
TestProject_createTicketWithCausality
(
TestCRMSkinsMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
testProject_createTicketWithCausality
(
self
):
self
.
_makeComputeNode
(
self
.
project
)
...
...
master/bt5/slapos_jio/TestTemplateItem/portal_components/test.erp5.testSlapOSHalJsonStyleSkins.py
View file @
f78959fb
...
...
@@ -599,7 +599,7 @@ class TestERP5Site_invalidate(TestSlapOSHalJsonStyleMixin):
class
TestComputeNode_get_revoke_Certificate
(
TestSlapOSHalJsonStyleMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
test_ComputeNode_getCertificate
(
self
):
compute_node
=
self
.
_makeComputeNode
()
self
.
assertEqual
(
0
,
len
(
compute_node
.
objectValues
(
portal_type
=
[
"ERP5 Login"
,
"Certificate Login"
])))
...
...
@@ -1445,7 +1445,7 @@ return []""")
class
TestSoftwareInstance_getAllocationInformation
(
TestSlapOSHalJsonStyleMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
test_SoftwareInstance_getAllocationInformation_not_allocated
(
self
):
self
.
_makeTree
()
...
...
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSUIHalStyle.py
View file @
f78959fb
...
...
@@ -32,7 +32,7 @@ from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctiona
class
TestSlapOSUIHalStyle
(
SlapOSTestCaseMixin
,
ERP5TypeFunctionalTestCase
):
foreground
=
0
run_only
=
"slaposjs_zuite"
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
ERP5TypeFunctionalTestCase
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSUIZHHalStyle.py
View file @
f78959fb
...
...
@@ -32,7 +32,7 @@ from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctiona
class
TestSlapOSUIZHHalStyle
(
SlapOSTestCaseMixin
,
ERP5TypeFunctionalTestCase
):
foreground
=
0
run_only
=
"slaposjs_zuite"
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
ERP5TypeFunctionalTestCase
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_panel_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSPanelStyle.py
View file @
f78959fb
...
...
@@ -32,7 +32,7 @@ from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctiona
class
TestSlapOSPanelStyle
(
SlapOSTestCaseMixin
,
ERP5TypeFunctionalTestCase
):
foreground
=
0
run_only
=
"slapos_panel_zuite"
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
ERP5TypeFunctionalTestCase
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_pdm/TestTemplateItem/portal_components/test.erp5.testSlapOSPDMCreateUpgradeDecisionSkins.py
View file @
f78959fb
...
...
@@ -23,7 +23,7 @@ from erp5.component.test.SlapOSTestCaseMixin import SlapOSTestCaseMixin
class
TestSlapOSPDMCreateUpgradeDecisionSkins
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
test_createUpgradeDecision_destroyed_instance
(
self
):
instance_tree
=
self
.
portal
.
instance_tree_module
.
newContent
(
...
...
master/bt5/slapos_pdm/TestTemplateItem/portal_components/test.erp5.testSlapOSPDMDestroySoftwareInstallation.py
View file @
f78959fb
...
...
@@ -22,7 +22,7 @@
from
erp5.component.test.SlapOSTestCaseMixin
import
SlapOSTestCaseMixin
class
TestSlapOSDestroySoftwareInstallation
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
bootstrapSoftwareInstallation
(
self
,
is_allocated
=
True
,
is_supplied
=
True
):
if
is_allocated
:
...
...
master/bt5/slapos_pdm/TestTemplateItem/portal_components/test.erp5.testSlapOSPDMSkins.py
View file @
f78959fb
...
...
@@ -22,7 +22,7 @@
from
erp5.component.test.SlapOSTestCaseMixin
import
SlapOSTestCaseMixin
class
TestSlapOSPDMSkins
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
test_requestUpgrade
(
self
):
software_product
,
_
,
type_variation
,
compute_node
,
_
,
instance_tree
=
self
.
bootstrapAllocableInstanceTree
()
...
...
master/bt5/slapos_slap_tool/TestTemplateItem/portal_components/test.erp5.testSlapOSSlapTool.py
View file @
f78959fb
...
...
@@ -49,7 +49,7 @@ def canonical_xml(xml):
class
TestSlapOSSlapToolMixin
(
SlapOSTestCaseMixin
):
launch_caucas
e
=
1
require_certificat
e
=
1
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
self
.
portal_slap
=
self
.
portal
.
portal_slap
...
...
master/product/SlapOS/tests/testSlapOSMixin.py
View file @
f78959fb
...
...
@@ -44,7 +44,7 @@ config = getConfiguration()
class
testSlapOSMixin
(
ERP5TypeCaucaseTestCase
):
abort_transaction
=
0
launch_caucas
e
=
0
require_certificat
e
=
0
def
clearCache
(
self
):
self
.
portal
.
portal_caches
.
clearAllCache
()
...
...
@@ -98,7 +98,7 @@ class testSlapOSMixin(ERP5TypeCaucaseTestCase):
self
.
portal
.
email_from_address
=
'romain@nexedi.com'
self
.
portal
.
email_to_address
=
'romain@nexedi.com'
if
not
self
.
isLiveTest
()
and
self
.
launch_caucas
e
:
if
not
self
.
isLiveTest
()
and
self
.
require_certificat
e
:
self
.
setUpCaucase
()
if
getattr
(
self
.
portal
.
portal_caches
,
'erp5_site_global_id'
,
None
):
...
...
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