Commit Graph

12 Commits (master)

Author SHA1 Message Date
Nguyễn Gia Phong 080f8edc8e Use trio.lowlevel instead of trio.hazmat
Since trio 0.15.0, hazmat has been deprecated.

trio-typing and mypy are bumped to support newer trio and each other.
2021-02-23 22:02:34 +07:00
Grant Wuerker 36a4a9150d
Interop tests updated and fixed. 2020-08-25 15:59:22 -06:00
mhchia 1af12ddf43
interop test: support both noise and plaintext 2020-02-28 15:50:03 +08:00
mhchia 13e8f496a7
Noise: add noise option in the factories and tests 2020-02-28 15:50:01 +08:00
mhchia 5b4b65faa8
Change default value of `read()`
From `n = -1` to `n = None`, to comply with trio API
2020-01-26 23:03:38 +08:00
mhchia fe4354d377
Fix `tests_interop`
- Remove pexpect
- Use new version of `p2pclient`, which makes use of anyio
- Clean up tests
2020-01-07 14:14:34 +08:00
Alex Stokes 3b9d7c7acd
Apply PR feedback 2019-12-10 17:20:41 -08:00
Alex Stokes 63fd531ed0
Fixes to add python 3.6 compatibility 2019-12-02 16:33:32 -08:00
NIC619 1c54c38ca7
Fix lint and add `signing_strict` to interop tests 2019-11-29 17:24:40 +08:00
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 e217acf4ac
Add additional sleep
To be more confident that the stream handler is registered in the
daemon.
2019-09-24 13:28:25 +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