Mock network backend
- also enable netowork tests
This commit is contained in:
parent
f58fb505ea
commit
8bdbc66075
|
@ -3,13 +3,14 @@ FROM ubuntu:bionic AS kivy
|
|||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
ENV SKIPCACHE=2022-07-20
|
||||
ENV SKIPCACHE=2022-07-21
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get install -yq \
|
||||
build-essential libcap-dev libssl-dev \
|
||||
libmtdev-dev libpq-dev \
|
||||
libxrender1 \
|
||||
python3-dev python3-pip python3-virtualenv \
|
||||
xvfb
|
||||
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
# pylint: disable=too-few-public-methods
|
||||
|
||||
from .telenium_process import TeleniumTestProcess
|
||||
from .common import skip_screen_checks
|
||||
|
||||
|
||||
class NetworkStatusScreen(TeleniumTestProcess):
|
||||
"""NetworkStatus Screen Functionality Testing"""
|
||||
|
||||
@skip_screen_checks
|
||||
def test_network_status(self):
|
||||
"""Show NetworkStatus"""
|
||||
# This is for checking Current screen
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
from pybitmessage import state
|
||||
from pybitmessage.bitmessagekivy.mpybit import NavigateApp
|
||||
from class_addressGenerator import FakeAddressGenerator
|
||||
import network
|
||||
|
||||
|
||||
def main():
|
||||
|
|
8
src/mock/network.py
Normal file
8
src/mock/network.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
class objectracker(object):
|
||||
missingObjects = ()
|
||||
|
||||
|
||||
class stats(object):
|
||||
@staticmethod
|
||||
def connectedHostsList():
|
||||
return ()
|
Reference in New Issue
Block a user