Example #1
0
    def setUp(self):
        from minpubsub import create

        self.pubsub = create("sqlite")
Example #2
0
 def setUp(self):
     from minpubsub import create
     self.pubsub = create('mysql', 'localhost', 'root', 'mysql', 'test')
Example #3
0
    def setUp(self):
        from minpubsub import create

        self.pubsub = create("memory")
Example #4
0
 def setUp(self):
     self.fname = 'minipubsub_test_sqlite.db'
     from minpubsub import create
     self.pubsub = create('sqlite')
     self.pubsub1 = create('sqlite', os.path.dirname(__file__), self.fname)
Example #5
0
 def setUp(self):
     from minpubsub import create
     self.pubsub = create('mysql', 'localhost', 'root', 'mysql', 'test')
Example #6
0
 def setUp(self):
     from minpubsub import create
     self.pubsub = create('memory')
Example #7
0
 def setUp(self):
     from minpubsub import create
     self.pubsub = create('mongodb', 'localhost', '27017')
Example #8
0
    def setUp(self):
        from minpubsub import create

        self.pubsub = create("mongodb", "localhost", "27017")
Example #9
0
 def setUp(self):
     self.fname = 'minipubsub_test_sqlite.db'
     from minpubsub import create
     self.pubsub = create('sqlite')
     self.pubsub1 = create('sqlite', os.path.dirname(__file__), self.fname)