summaryrefslogtreecommitdiff
path: root/tests/unittests/test_sshutil.py
AgeCommit message (Collapse)Author
2016-03-03Update pep8 runner and fix pep8 issuesRyan Harper
2014-11-13Use test_helpers.TestCase for test_sshutil tests.Daniel Watkins
As requested by harlowja.
2014-11-12Handle = used as config delimiter in SSH config.Daniel Watkins
2014-11-12Add tests for current parse_ssh_config behaviour.Daniel Watkins
This also adds mock as a test dependency, as we are looking to migrate away from mocker.
2013-03-07pep8 and pylint fixesScott Moser
2013-03-01change parser.parse 'default_opts' to 'options'Scott Moser
Now, parser.parse specifies options that override any options found, rather than just being default options. There could still potentially be a user for default_options, but since we're not using them anywhere, I've dropped it. The difference is that in setting up the root user, we're now insisting that all keys that go in there have the key_prefix, even if the key content had other options. I think this is actually the commit that fixes LP: #1136343.
2013-03-01add some unit tests, fix an issue or twoScott Moser
* drop the parsing of options into csv, as we were only exploding them back. That can only result in error. Just do minimal parsing. * change the parsing of key lines to: if entry is valid: * use it else try taking off options: if good, use it else fail