mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-26 18:38:54 +02:00
Fix logging test coding style
Signed-off-by: Yusuke Matsubara <whym@whym.org>
This commit is contained in:
parent
baccce4f3f
commit
c289a3b827
@ -8,10 +8,10 @@ from podman_compose import Podman
|
|||||||
|
|
||||||
|
|
||||||
class DummyReader:
|
class DummyReader:
|
||||||
def __init__(self, data=[]):
|
def __init__(self, data=None):
|
||||||
self.data = data
|
self.data = data or []
|
||||||
|
|
||||||
async def readuntil(self, x):
|
async def readuntil(self, _):
|
||||||
return self.data.pop(0)
|
return self.data.pop(0)
|
||||||
|
|
||||||
def at_eof(self):
|
def at_eof(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user