No point in having separate module.

This commit is contained in:
Itamar Turner-Trauring 2021-04-05 12:56:42 -04:00
parent a11b47785f
commit 74e9bdd476
2 changed files with 17 additions and 16 deletions

View File

@ -37,10 +37,26 @@ from allmydata.util import jsonbytes as json
from ..no_network import GridTestMixin
from ..common_web import do_http
from ..status import FakeStatus
from .common import CLITestMixin
class FakeStatus(object):
def __init__(self):
self.status = []
def setServiceParent(self, p):
pass
def get_status(self):
return self.status
def get_storage_index(self):
return None
def get_size(self):
return None
class ProgressBar(unittest.TestCase):
def test_ascii0(self):

View File

@ -1,16 +1 @@
class FakeStatus(object):
def __init__(self):
self.status = []
def setServiceParent(self, p):
pass
def get_status(self):
return self.status
def get_storage_index(self):
return None
def get_size(self):
return None