Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
f1056d50
Commit
f1056d50
authored
Apr 24, 2018
by
André Anjos
💬
Browse files
Fix setup/teardown on mixed-in class
parent
86f482b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/test/test_docker_execution.py
View file @
f1056d50
...
...
@@ -40,18 +40,17 @@ from .test_execution import BaseExecutionMixIn
class
TestDockerExecution
(
BaseExecutionMixIn
):
@
classmethod
def
set
UpC
lass
(
cls
):
def
set
up_c
lass
(
cls
):
cls
.
host
=
Host
(
raise_on_errors
=
False
)
@
classmethod
def
tear
D
own
C
lass
(
cls
):
def
tear
d
own
_c
lass
(
cls
):
cls
.
host
.
teardown
()
cleanup
()
def
tearDown
(
self
):
super
(
TestDockerExecution
,
self
).
tearDown
()
def
teardown
(
self
):
self
.
host
.
teardown
()
...
...
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