def test_lib_sprinterpip(self): """ Pip install command should work """ tools.eq_( lib.whitespace_smart_split( "pip install http://github.com/toumorokoshi/sprinter/tarball/master" ), [ 'pip', 'install', 'http://github.com/toumorokoshi/sprinter/tarball/master' ])
def test_lib_sprinterpip(self): """ Pip install command should work """ tools.eq_( lib.whitespace_smart_split( "pip install http://github.com/toumorokoshi/sprinter/tarball/master"), ['pip', 'install', 'http://github.com/toumorokoshi/sprinter/tarball/master'])
def test_lib_ampersandinquotes(self): """ An ampersand and other variables in quotes should not split """ tools.eq_(lib.whitespace_smart_split('"ae09ge&eai"'), ['\"ae09ge&eai\"'])