Skip to content

Conversation

kodsama
Copy link
Contributor

@kodsama kodsama commented Feb 27, 2017

Add possibility to run a command through docker-machine ssh (and based on latests master).

* 'master' of github.com:gijzelaerr/python-docker-machine:
  Update setup.py
  Update setup.py
  Add nosetest for create
  Add blocking create
def test_ssh_echo(self):
self.assertTrue(self.machine.exists(machine=TEST_MACHINE))
ret = self.machine.ssh(TEST_MACHINE, 'echo \"Hello\"')
if ret != ['Hello']:
Copy link
Owner

Choose a reason for hiding this comment

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

so you probably should just do self.assertEqual(ret, 'Hello') here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in the new version ;)

@kodsama
Copy link
Contributor Author

kodsama commented Feb 27, 2017

Fixed 👍

@gijzelaerr gijzelaerr merged commit 4379ea9 into gijzelaerr:master Mar 3, 2017
@gijzelaerr
Copy link
Owner

thx! merged

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