Added mock code #1883
@ -1,2 +1,3 @@
|
|||||||
|
|||||||
def main():
|
def main():
|
||||||
pass
|
"""Mock main function"""
|
||||||
![]() here it can start launching the mock threads. here it can start launching the mock threads.
![]() here it can start launching the mock threads. here it can start launching the mock threads.
|
|||||||
|
pass
|
||||||
![]() here it can start launching the mock threads. here it can start launching the mock threads.
|
|||||||
|
|||||||
![]() here it can start launching the mock threads. here it can start launching the mock threads.
![]() here it can start launching the mock threads. here it can start launching the mock threads.
|
@ -3,6 +3,7 @@
|
|||||||
# TODO make this dynamic, and watch out for frozen, like with messagetypes
|
# TODO make this dynamic, and watch out for frozen, like with messagetypes
|
||||||
from singleton import Singleton
|
from singleton import Singleton
|
||||||
|
|
||||||
|
|
||||||
# pylint: disable=old-style-class,too-few-public-methods
|
# pylint: disable=old-style-class,too-few-public-methods
|
||||||
@Singleton
|
@Singleton
|
||||||
class MockInventory():
|
class MockInventory():
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import asyncore_pollchoose as asyncore
|
|
||||||
from bmconfigparser import BMConfigParser
|
|
||||||
from singleton import Singleton
|
from singleton import Singleton
|
||||||
|
|
||||||
logger = logging.getLogger('default')
|
logger = logging.getLogger('default')
|
||||||
|
|
||||||
|
|
||||||
# pylint: disable=too-few-public-methods
|
# pylint: disable=too-few-public-methods
|
||||||
@Singleton
|
@Singleton
|
||||||
class MockBMConnectionPool(object):
|
class MockBMConnectionPool(object):
|
||||||
|
Reference in New Issue
Block a user
here it can start launching the mock threads.
here it can start launching the mock threads.