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
2024-03-22 08:54:15 +00:00

26 lines
462 B
Python

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