mhchia
05d5d045ea
Fix pubsub interop: missing unsubscribe_fn
2020-02-02 18:17:22 +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
eab59482c0
Use the real get_unused_tcp_port
...
To get rid of the fake one
2020-01-07 16:45:59 +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
NIC619
f3732f9480
Fix tests
2019-12-18 12:37:04 +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
Taneli Hukkinen
23848039fd
Use pytest.fail() to fail test
2019-11-05 01:26:08 +01:00
Taneli Hukkinen
69279108bc
Add flake8-bugbear
2019-11-04 21:16:09 +01:00
Dominik Muhs
bafdd8512d
Enforce pre-summary newline in docstrings
2019-10-24 20:10:45 +02:00
Dominik Muhs
eef505f2d9
Add automatic docstring formatter and apply
2019-10-24 08:41:10 +02:00
mhchia
da34b086d5
Merge branch 'master' into fix/change-notifee-and-add-tests-for-swarm-conn-and-mplex
2019-09-24 13:50: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
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