py-libp2p/tests
2019-08-02 14:42:10 +08:00
..
examples Run black over repo 2019-07-31 15:00:12 -07:00
kademlia Run black over repo 2019-07-31 15:00:12 -07:00
libp2p Run black over repo 2019-07-31 15:00:12 -07:00
network Run black over repo 2019-07-31 15:00:12 -07:00
peer Convert from base58/pubkey/privkey to class method 2019-08-02 14:42:10 +08:00
protocol_muxer Run black over repo 2019-07-31 15:00:12 -07:00
pubsub Reflect PR feedback 2019-08-01 21:38:14 +08:00
routing Fix wrong peer id type used in KadPeerInfo 2019-08-02 14:42:10 +08:00
security Use factories and fixtures in pubsub tests 2019-08-01 13:30:08 +08:00
transport Run black over repo 2019-07-31 15:00:12 -07:00
__init__.py Peer tests and minor peer features/bug fixes. 2018-11-02 16:16:46 -04:00
configs.py Use factories and fixtures in pubsub tests 2019-08-01 13:30:08 +08:00
README.md Add readme describing test naming convention 2018-10-21 14:04:43 -04:00
test_example.py Run black over repo 2019-07-31 15:00:12 -07:00
utils.py Remove the assertions for connect 2019-08-01 13:30:09 +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_.