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

Implement unit tests #5

Open
ncouture opened this issue Jul 5, 2014 · 4 comments
Open

Implement unit tests #5

ncouture opened this issue Jul 5, 2014 · 4 comments
Labels

Comments

@ncouture
Copy link
Owner

ncouture commented Jul 5, 2014

We need unit tests.

For starters here are a some unit tests that are also using SSH:

@ncouture ncouture added this to the Package for PyPi milestone Jul 5, 2014
@ncouture
Copy link
Owner Author

ncouture commented Jul 5, 2014

Added an example unit test, it depends on running the example mock_cisco.py manually.

https://github.com/ncouture/MockSSH/tree/master/tests/test_mock_cisco.py

@claudyus
Copy link
Contributor

claudyus commented Dec 4, 2014

My PR #8 resolve dependencies over running server manually.

@ncouture
Copy link
Owner Author

ncouture commented Dec 5, 2014

The threadedServer implemented by claudyus is a good way to perform end to end tests for one MockSSH server however only one twisted reactor can run at a time and reactors cannot be restarted.

Test failure by uncommenting the tearDownClass classmethod in https://github.com/ncouture/MockSSH/blob/master/tests/test_mock_F5.py and running the unit tests.

@ncouture
Copy link
Owner Author

This was referenced Jun 10, 2017
@ncouture ncouture added the bug label Jun 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants