This repository has been archived on 2024-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-03/src/mockbm/network.py

26 lines
462 B
Python
Raw Normal View History

# pylint: disable=too-few-public-methods
"""
Mock Network
"""
class objectracker(object):
"""Mock object tracker"""
2022-09-19 18:04:34 +02:00
missingObjects = {}
class stats(object):
"""Mock network statistics"""
2022-09-19 18:04:34 +02:00
@staticmethod
def connectedHostsList():
"""Mock list of all the connected hosts"""
return ["conn1", "conn2", "conn3", "conn4"]
@staticmethod
def pendingDownload():
"""Mock pending download count"""
return 0