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
Xavier Thompson
slapos.core
Commits
0353b627
Commit
0353b627
authored
Nov 18, 2013
by
Cédric de Saint Martin
Committed by
Gabriel Monnerat
Jan 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SlapOS Product][slapos_slap_tool] Don't use super keyword.
parent
05d2b29b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
master/bt5/slapos_slap_tool/TestTemplateItem/testSlapOSSlapTool.py
...5/slapos_slap_tool/TestTemplateItem/testSlapOSSlapTool.py
+2
-2
master/bt5/slapos_slap_tool/bt/revision
master/bt5/slapos_slap_tool/bt/revision
+1
-1
master/product/SlapOS/tests/testSlapOSMixin.py
master/product/SlapOS/tests/testSlapOSMixin.py
+2
-2
No files found.
master/bt5/slapos_slap_tool/TestTemplateItem/testSlapOSSlapTool.py
View file @
0353b627
...
@@ -36,7 +36,7 @@ class Simulator:
...
@@ -36,7 +36,7 @@ class Simulator:
class
TestSlapOSSlapToolMixin
(
testSlapOSMixin
):
class
TestSlapOSSlapToolMixin
(
testSlapOSMixin
):
def
afterSetUp
(
self
,
person
=
None
):
def
afterSetUp
(
self
,
person
=
None
):
super
(
TestSlapOSSlapToolMixin
,
self
).
afterSetUp
(
)
testSlapOSMixin
.
afterSetUp
(
self
)
self
.
portal_slap
=
self
.
portal
.
portal_slap
self
.
portal_slap
=
self
.
portal
.
portal_slap
new_id
=
self
.
generateNewId
()
new_id
=
self
.
generateNewId
()
...
@@ -1686,7 +1686,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -1686,7 +1686,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
person
.
recursiveImmediateReindexObject
()
person
.
recursiveImmediateReindexObject
()
self
.
person
=
person
self
.
person
=
person
self
.
person_reference
=
person
.
getReference
()
self
.
person_reference
=
person
.
getReference
()
super
(
TestSlapOSSlapToolPersonAccess
,
self
).
afterSetUp
(
person
=
person
)
TestSlapOSSlapToolMixin
.
afterSetUp
(
self
,
person
=
person
)
def
test_not_accessed_getComputerStatus
(
self
):
def
test_not_accessed_getComputerStatus
(
self
):
self
.
login
(
self
.
person_reference
)
self
.
login
(
self
.
person_reference
)
...
...
master/bt5/slapos_slap_tool/bt/revision
View file @
0353b627
31
32
\ No newline at end of file
master/product/SlapOS/tests/testSlapOSMixin.py
View file @
0353b627
...
@@ -93,12 +93,12 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -93,12 +93,12 @@ class testSlapOSMixin(ERP5TypeTestCase):
def
_setUpDummyMailHost
(
self
):
def
_setUpDummyMailHost
(
self
):
"""Do not play with NON persistent replacement of MailHost"""
"""Do not play with NON persistent replacement of MailHost"""
if
not
self
.
isLiveTest
():
if
not
self
.
isLiveTest
():
super
(
testSlapOSMixin
,
self
).
_setUpDummyMailHost
(
)
ERP5TypeTestCase
.
_setUpDummyMailHost
(
self
)
def
_restoreMailHost
(
self
):
def
_restoreMailHost
(
self
):
"""Do not play with NON persistent replacement of MailHost"""
"""Do not play with NON persistent replacement of MailHost"""
if
not
self
.
isLiveTest
():
if
not
self
.
isLiveTest
():
super
(
testSlapOSMixin
,
self
).
_restoreMailHost
(
)
ERP5TypeTestCase
.
_restoreMailHost
(
self
)
def
beforeTearDown
(
self
):
def
beforeTearDown
(
self
):
if
self
.
isLiveTest
():
if
self
.
isLiveTest
():
...
...
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