Chih Cheng Liang
bcd7890124
Move test utilities to tools ( #356 )
...
* move test factories to libp2p/tools
* remove unused inits
* move pubsub test utils to tools
* cleanup test_interop
* fix typing libp2p/tools/utils
* add typing to pubsub utils
* fix factories typing
* fix typing for floodsub_integration_test_settings
* fix rest of the typing
* fix isort
2019-11-21 11:47:54 +08:00
mhchia
d1c25b8b1e
Fix interop pubsub tests and PR feedback
...
- Use `from_id`, the changed field name in `PSMessage`.
- PR feedbacks
- Add label `test` in `testenv` in tox.ini, to avoid wrong
dispatching an environment's command in the future.
- Use `pytest` over `py.test`.
2019-09-24 11:30:52 +08:00
mhchia
006002f687
Move interop tests out of tests
...
It is moved to the top level package `tests_interop`, to avoid circular
dependency, with the dependency moved to `tox`.
2019-09-23 22:00:40 +08:00