Added mock code #1883
@ -1,2 +1,3 @@
|
||||
|
||||
def main():
|
||||
pass
|
||||
![]() here it can start launching the mock threads. here it can start launching the mock threads.
|
||||
"""Mock main function"""
|
||||
![]() 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
|
||||
from singleton import Singleton
|
||||
|
||||
|
||||
# pylint: disable=old-style-class,too-few-public-methods
|
||||
@Singleton
|
||||
class MockInventory():
|
||||
|
@ -3,12 +3,11 @@
|
||||
"""
|
||||
import logging
|
||||
|
||||
import asyncore_pollchoose as asyncore
|
||||
from bmconfigparser import BMConfigParser
|
||||
from singleton import Singleton
|
||||
|
||||
logger = logging.getLogger('default')
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
@Singleton
|
||||
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.