Exemplo n.º 1
0
    def setUpClass(cls):
        start_redis_server()

        cls._meta = MetaProxy()
        cls._mon = MonProxy()

        cls._meta.error = MagicMock()
    def setUpClass(cls):
        class DummyParent(QWidget):
            def createCtrlWidget(self, widget):
                pass

        cls._dummy = DummyParent()

        start_redis_server()
Exemplo n.º 3
0
 def setUpClass(cls):
     cls._port = 6390
     # use a port that is not used in other unittests
     start_redis_server('127.0.0.1', cls._port)
Exemplo n.º 4
0
    def setUpClass(cls):
        start_redis_server()

        cls._meta = MetaProxy()