add test unit
@@ -10,17 +10,18 @@ def test_setup_logger():
os.environ['LOG_LEVEL'] = 'DEBUG'
Common.setup_logger(logger)
-
def test_setup_env():
common = Common()
common.setup_env()
+def test_connect_redis():
+ common = Common()
+ common.connect_redis()
def test_connect_rabbit():
common = Common()
common.connect_rabbit()
-
def test_get_address_info():
common = Common()
last_update = common.get_address_info('foo', 'bar')
