Beispiel #1
0
    def test_all_groups(self):
        conn = Connection('memory://')
        pools.connections[conn]

        assert list(pools._all_pools())
Beispiel #2
0
    def test_all_groups(self):
        conn = Connection("memory://")
        pools.connections[conn]

        self.assertTrue(list(pools._all_pools()))
Beispiel #3
0
    def test_all_groups(self):
        conn = Connection('memory://')
        pools.connections[conn]

        self.assertTrue(list(pools._all_pools()))
Beispiel #4
0
 def test_set_forced_resize(self):
     pools.set_forced_resize(True)
     for p in pools._all_pools():
         assert p.forced_resize is True