From 8821ec834b80f26082bacde5eb972c6abf40d8f4 Mon Sep 17 00:00:00 2001 From: def Date: Sat, 27 Aug 2022 17:18:23 +0200 Subject: [PATCH] fix mock BlockDevicesMockReturnTrue --- tests/test_graphql/test_api_storage.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_graphql/test_api_storage.py b/tests/test_graphql/test_api_storage.py index 2325f8c6..59b46dbf 100644 --- a/tests/test_graphql/test_api_storage.py +++ b/tests/test_graphql/test_api_storage.py @@ -17,16 +17,13 @@ class BlockDevicesMockReturnNone: returncode = 0 -class BlockDevicesMock: +class BlockDevicesMockReturnTrue: """Mock BlockDevices""" def __init__(self, args, **kwargs): self.args = args self.kwargs = kwargs - def get_block_device(self, name: str): - return 0 - def mount(self): return True