# Path: test/mock_device/mock_data.py
# def generate():


import asyncio
import datetime
    import ujson as json
    import json
import asynctest
import redis
import pandas as pd
import numpy as np
import pydatacoll.utils.logger as my_logger
import pydatacoll.plugins.formula_calc as formula_calc
from test.mock_device import mock_data
from pydatacoll.utils.read_config import *
try:
except ImportError:

logger = my_logger.get_logger('FormulaCalcTest')


class FormulaCalcTest(asynctest.TestCase):
    loop = None  # make pycharm happy

    def setUp(self):
        super(FormulaCalcTest, self).setUp()
        self.redis_client = redis.StrictRedis(db=config.getint('REDIS', 'db', fallback=1), decode_responses=True)

# Path: test/mock_device/mock_data.py
# def generate():


# Path: test/test_formula_calc.py
import asyncio
import datetime
    import ujson as json
    import json
import asynctest
import redis
import pandas as pd
import numpy as np
import pydatacoll.utils.logger as my_logger
import pydatacoll.plugins.formula_calc as formula_calc
from test.mock_device import mock_data
from pydatacoll.utils.read_config import *

try:
except ImportError:

logger = my_logger.get_logger('FormulaCalcTest')


class FormulaCalcTest(asynctest.TestCase):
    loop = None  # make pycharm happy

    def setUp(self):
        super(FormulaCalcTest, self).setUp()
        self.redis_client = redis.StrictRedis(db=config.getint('REDIS', 'db', fallback=1), decode_responses=True)

        mock_data.generate()