py-libp2p/tests
mhchia 037b95252d
Add tests for Pubsub
- `test_get_hello_packet`
- `test_continuously_read_stream`
- `test_publish`
- `test_push_msg`
2019-07-31 14:15:10 +08:00
..
examples fix existing tests 2019-03-17 19:33:40 -04:00
kademlia add simple test 2019-04-28 17:57:57 -04:00
libp2p Add type hints to peer folder 2019-07-30 16:24:51 +08:00
network Migrate to new project structure. 2019-01-09 21:38:56 +03:00
peer Add type hints to peer folder 2019-07-30 16:24:51 +08:00
protocol_muxer fix linting issues 2019-03-17 21:30:56 -04:00
pubsub Add tests for Pubsub 2019-07-31 14:15:10 +08:00
routing updated peerinfo encoding stored in DHT 2019-04-28 17:38:40 -04:00
security Move simple security to libp2p/security 2019-05-01 17:21:11 -04:00
transport Migrate to new project structure. 2019-01-09 21:38:56 +03:00
__init__.py Peer tests and minor peer features/bug fixes. 2018-11-02 16:16:46 -04:00
README.md Add readme describing test naming convention 2018-10-21 14:04:43 -04:00
test_example.py WIP CI Build Errors (#76) 2018-11-26 18:24:29 -05:00
utils.py Combine test_subscription.py to test_pubsub.py 2019-07-31 14:15:10 +08:00

pytest gathers tests according to a naming convention. By default any file that is to contain tests must be named starting with test_ and any function in a file that should be treated as a test must also start with test_.