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

basic unittests #9

Merged
merged 2 commits into from Dec 27, 2016
Merged

basic unittests #9

merged 2 commits into from Dec 27, 2016

Conversation

ghost
Copy link

@ghost ghost commented Dec 26, 2016

@dvopsway

this adds a first unittest. you can test the code by python tests/test_ssh.py -v. You need to set some environment variables first because of security reasons.

so you should do something like:
export sshmux_test_host=127.0.0.1, export sshmux_test_user=testuser and export sshmux_test_key=/home/user/.ssh/id_rsa

You need to set the environment vars: sshmux_test_host, sshmux_test_user and sshmux_test_key

this are the variables used to connect to the server in a secure way
@dvopsway dvopsway merged commit 16cddbe into dvopsway:master Dec 27, 2016
@dvopsway
Copy link
Owner

Shouldn't we document this?

@ghost
Copy link
Author

ghost commented Dec 27, 2016

Yes we need to document this, but I think we need a better set of tests first.

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.

2 participants