Comments (2)
you have to add this method in your Test class:
def get_new_ioloop(self):
return tornado.ioloop.IOLoop.instance()
Without this method, you have two distinct mainloops (one for tests and one for tornadis), so it doesn't work
from tornadis.
Thanks for the answer, do you see any place where i could add it to the documentation?
from tornadis.
Related Issues (20)
- provides a way to auto(re)subscribe after an auto(re)connect in the PubSub client HOT 1
- better readthedocs output
- Best way of dealing with connection timeout issues HOT 2
- add "db" parameter to tornadis.Client() and tornadis.ClientPool() HOT 1
- Tight pinning of Tornado
- python3.5 await support code HOT 1
- it seems much lower than sync redis HOT 2
- Mocking tornadis during unittests HOT 2
- Cluster support? HOT 2
- 0.7.1 release with pool fix HOT 4
- When to support sentinel ? HOT 1
- got exception: ERR unknown command 'HINCRBYFLOAT' HOT 1
- support for db selection at client or pool level
- Best way forward with regards to native coroutines HOT 3
- Remove ioloop from PeriodicCallback HOT 2
- why can't connect redis db ??? HOT 2
- `add_sockets`: advanced multi-process don't support?
- How to set expiry time for keys? HOT 4
- Tornado 6 not supported by current version (0.8.1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tornadis.