Commit db2fd618 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Fix pylint warnings

parent d93bc5c3
Pipeline #4580 passed with stages
in 2 minutes and 46 seconds
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
"""Unit tests""" """Unit tests"""
import time
import pytest import pytest
from zoe_master.backends.docker import api_client from zoe_master.backends.docker import api_client
...@@ -341,10 +343,12 @@ class MockContainer: ...@@ -341,10 +343,12 @@ class MockContainer:
def stop(self, timeout=5): def stop(self, timeout=5):
"""Stop method""" """Stop method"""
return time.sleep(timeout/10)
def remove(self, force=False): def remove(self, force=False):
"""Remove method""" """Remove method"""
if force:
return
return return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment