py-libp2p/tests
mhchia 4eb846be7c
Remove the assertions for connect
Because it fails in `test_security_multistream.py` and this check is
indeed not necessary inside `connect`.(Should probably be outside the
function.)
2019-08-01 13:30:09 +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 Run black over repo 2019-07-31 15:00:12 -07:00
protocol_muxer Run black over repo 2019-07-31 15:00:12 -07:00
pubsub Use factories and fixtures in pubsub tests 2019-08-01 13:30:08 +08:00
routing Run black over repo 2019-07-31 15:00:12 -07: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_.