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
francois
erp5
Commits
c3125d4e
Commit
c3125d4e
authored
Jul 29, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testERP5testnode: apply new method names
parent
1cdd2175
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
erp5/tests/testERP5TestNode.py
erp5/tests/testERP5TestNode.py
+12
-12
No files found.
erp5/tests/testERP5TestNode.py
View file @
c3125d4e
...
...
@@ -500,7 +500,7 @@ revision = %(revision2)s
"launchable"
:
False
,
"randomized_path"
:
"azertyuiop"
})
def
patch_isMasterTestnode
(
self
,
*
args
,
**
kw
):
return
(
grade
==
'master'
)
def
patch_isHostingSubscription
Correctl
y
(
self
,
*
args
,
**
kw
):
def
patch_isHostingSubscription
Read
y
(
self
,
*
args
,
**
kw
):
return
True
def
patch_isRegisteredHostingSubscription
(
self
,
*
args
,
**
kw
):
return
True
...
...
@@ -569,7 +569,7 @@ revision = %(revision2)s
original_generateConfiguration
=
TaskDistributor
.
generateConfiguration
original_isMasterTestnode
=
TaskDistributor
.
isMasterTestnode
original_updateInstanceXML
=
RunnerClass
.
_updateInstanceXML
original_isHostingSubscription
Correctly
=
SlapOSMasterCommunicator
.
isHostingSubscriptionCorrectl
y
original_isHostingSubscription
Ready
=
SlapOSMasterCommunicator
.
isHostingSubscriptionRead
y
original_isRegisteredHostingSubscription
=
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
original_SlapOSMasterCommunicator__init__
=
SlapOSMasterCommunicator
.
__init__
TaskDistributor
.
getSlaposAccountKey
=
patch_getSlaposAccountKey
...
...
@@ -577,7 +577,7 @@ revision = %(revision2)s
TaskDistributor
.
generateConfiguration
=
patch_generateConfiguration
TaskDistributor
.
isMasterTestnode
=
patch_isMasterTestnode
RunnerClass
.
_updateInstanceXML
=
doNothing
SlapOSMasterCommunicator
.
isHostingSubscription
Correctly
=
patch_isHostingSubscriptionCorrectl
y
SlapOSMasterCommunicator
.
isHostingSubscription
Ready
=
patch_isHostingSubscriptionRead
y
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
=
patch_isRegisteredHostingSubscription
SlapOSMasterCommunicator
.
__init__
=
doNothing
original_startTestSuite
=
TaskDistributor
.
startTestSuite
...
...
@@ -608,7 +608,7 @@ revision = %(revision2)s
TaskDistributor
.
generateConfiguration
=
original_generateConfiguration
TaskDistributor
.
isMasterTestnode
=
original_isMasterTestnode
RunnerClass
.
_updateInstanceXML
=
original_updateInstanceXML
SlapOSMasterCommunicator
.
isHostingSubscription
Correctly
=
original_isHostingSubscriptionCorrectl
y
SlapOSMasterCommunicator
.
isHostingSubscription
Ready
=
original_isHostingSubscriptionRead
y
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
=
original_isRegisteredHostingSubscription
SlapOSMasterCommunicator
.
__init__
=
original_SlapOSMasterCommunicator__init__
TaskDistributor
.
startTestSuite
=
original_startTestSuite
...
...
@@ -671,7 +671,7 @@ revision = %(revision2)s
"launchable"
:
False
,
"randomized_path"
:
"azertyuiop"
})
def
patch_isMasterTestnode
(
self
,
*
args
,
**
kw
):
return
grade
==
'master'
def
patch_isHostingSubscription
Correctl
y
(
self
,
*
args
,
**
kw
):
def
patch_isHostingSubscription
Read
y
(
self
,
*
args
,
**
kw
):
return
True
def
patch_isRegisteredHostingSubscription
(
self
,
*
args
,
**
kw
):
return
True
...
...
@@ -728,7 +728,7 @@ revision = %(revision2)s
original_supply
=
SlapOSControler
.
supply
original_request
=
SlapOSControler
.
request
original_updateInstanceXML
=
RunnerClass
.
_updateInstanceXML
original_isHostingSubscription
Correctly
=
SlapOSMasterCommunicator
.
isHostingSubscriptionCorrectl
y
original_isHostingSubscription
Ready
=
SlapOSMasterCommunicator
.
isHostingSubscriptionRead
y
original_isRegisteredHostingSubscription
=
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
original_SlapOSMasterCommunicator__init__
=
SlapOSMasterCommunicator
.
__init__
TaskDistributor
.
getSlaposAccountKey
=
patch_getSlaposAccountKey
...
...
@@ -738,7 +738,7 @@ revision = %(revision2)s
SlapOSControler
.
supply
=
doNothing
SlapOSControler
.
request
=
doNothing
RunnerClass
.
_updateInstanceXML
=
doNothing
SlapOSMasterCommunicator
.
isHostingSubscription
Correctly
=
patch_isHostingSubscriptionCorrectl
y
SlapOSMasterCommunicator
.
isHostingSubscription
Ready
=
patch_isHostingSubscriptionRead
y
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
=
patch_isRegisteredHostingSubscription
SlapOSMasterCommunicator
.
__init__
=
doNothing
original_startTestSuite
=
TaskDistributor
.
startTestSuite
...
...
@@ -769,7 +769,7 @@ revision = %(revision2)s
SlapOSControler
.
supply
=
original_supply
SlapOSControler
.
request
=
original_request
SlapOSControler
.
updateInstanceXML
=
original_updateInstanceXML
SlapOSMasterCommunicator
.
isHostingSubscription
Correctly
=
original_isHostingSubscriptionCorrectl
y
SlapOSMasterCommunicator
.
isHostingSubscription
Ready
=
original_isHostingSubscriptionRead
y
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
=
original_isRegisteredHostingSubscription
SlapOSMasterCommunicator
.
__init__
=
original_SlapOSMasterCommunicator__init__
TaskDistributor
.
startTestSuite
=
original_startTestSuite
...
...
@@ -946,7 +946,7 @@ revision = %(revision2)s
return
"Certificate"
def
patch_getTestType
(
self
,
*
args
,
**
kw
):
return
"ScalabilityTest"
def
patch_isHostingSubscription
Correctl
y
(
self
,
*
args
,
**
kw
):
def
patch_isHostingSubscription
Read
y
(
self
,
*
args
,
**
kw
):
return
True
def
patch_isRegisteredHostingSubscription
(
self
,
*
args
,
**
kw
):
return
True
...
...
@@ -971,7 +971,7 @@ revision = %(revision2)s
original_supply
=
SlapOSControler
.
supply
original_request
=
SlapOSControler
.
request
original_updateInstanceXML
=
SlapOSControler
.
updateInstanceXML
original_isHostingSubscription
Correctly
=
SlapOSMasterCommunicator
.
isHostingSubscriptionCorrectl
y
original_isHostingSubscription
Ready
=
SlapOSMasterCommunicator
.
isHostingSubscriptionRead
y
original_isRegisteredHostingSubscription
=
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
original_SlapOSMasterCommunicator__init__
=
SlapOSMasterCommunicator
.
__init__
...
...
@@ -990,7 +990,7 @@ revision = %(revision2)s
SlapOSControler
.
supply
=
doNothing
SlapOSControler
.
request
=
doNothing
SlapOSControler
.
updateInstanceXML
=
doNothing
SlapOSMasterCommunicator
.
isHostingSubscription
Correctly
=
patch_isHostingSubscriptionCorrectl
y
SlapOSMasterCommunicator
.
isHostingSubscription
Ready
=
patch_isHostingSubscriptionRead
y
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
=
patch_isRegisteredHostingSubscription
SlapOSMasterCommunicator
.
__init__
=
doNothing
# Run
...
...
@@ -1010,7 +1010,7 @@ revision = %(revision2)s
SlapOSControler
.
supply
=
original_supply
SlapOSControler
.
request
=
original_request
SlapOSControler
.
updateInstanceXML
=
original_updateInstanceXML
SlapOSMasterCommunicator
.
isHostingSubscription
Correctly
=
original_isHostingSubscriptionCorrectl
y
SlapOSMasterCommunicator
.
isHostingSubscription
Ready
=
original_isHostingSubscriptionRead
y
SlapOSMasterCommunicator
.
isRegisteredHostingSubscription
=
original_isRegisteredHostingSubscription
SlapOSMasterCommunicator
.
__init__
=
original_SlapOSMasterCommunicator__init__
time
.
sleep
=
original_sleep
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