py-libp2p/tests
stuckinaboot 7fa674dee2
Protocol muxing (#82)
* Implement protocol muxing

* Integrate protocol muxing into new stream and listen's conn handler

* Fix bugs in protocol muxing

* Remove blank line

* Add comments and fix linting issues

* Fix order of parameters to select_one_of to match interface

* Use array of protocol ids in new stream instead of protocol id

* Add basic protocol muxer tests

* Add todo

* Modify new stream to take in protocol ids

* Add check to all tests to ensure protocol id is saved to net stream properly

* Lint tests

* Fix lint issues

* Add todo

* Modify port numbers in tests

* Fix linting issues

* Add more documentation to functions

* Add docs describing classes and fix indent error
2018-11-28 13:51:50 -05:00
..
libp2p Protocol muxing (#82) 2018-11-28 13:51:50 -05:00
network WIP CI Build Errors (#76) 2018-11-26 18:24:29 -05:00
peer WIP CI Build Errors (#76) 2018-11-26 18:24:29 -05:00
protocol_muxer Protocol muxing (#82) 2018-11-28 13:51:50 -05: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

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_.