Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move interop tests outside tests #308

Merged
merged 5 commits into from
Sep 24, 2019

Conversation

mhchia
Copy link
Contributor

@mhchia mhchia commented Sep 23, 2019

It is moved to the top level package tests_interop, to avoid circular dependency, with the dependency on p2pclient moved to tox.

Fixes #296 .

It is moved to the top level package `tests_interop`, to avoid circular
dependency, with the dependency moved to `tox`.
@mhchia mhchia changed the title Move interop tests out of tests Move interop tests outside tests Sep 23, 2019
@mhchia mhchia requested a review from carver September 23, 2019 14:08
To make `tox -e py37-interop` run.
@mhchia
Copy link
Contributor Author

mhchia commented Sep 23, 2019

@carver
I moved the interop tests to tests_interop and move the dependency on p2pclient from setup.py to tox.ini. It seems to work now. Could you have a look at this? Really appreciate!

@mhchia
Copy link
Contributor Author

mhchia commented Sep 23, 2019

Interop tests seemed to fail. I will fix it tomorrow.

Copy link
Contributor

@carver carver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, besides the test failure, looks good to me!

tox.ini Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
- 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`.
To be more confident that the stream handler is registered in the
daemon.
@mhchia
Copy link
Contributor Author

mhchia commented Sep 24, 2019

@carver Thanks for the review!

@mhchia mhchia merged commit 3e9df89 into libp2p:master Sep 24, 2019
@mhchia mhchia deleted the fix/move-deps-on-p2pclient-to-tox branch September 24, 2019 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove py-libp2p-daemon
2 participants