Esempio n. 1
0
 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'
         ])
Esempio n. 2
0
 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'])
Esempio n. 3
0
 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\"'])
Esempio n. 4
0
 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\"'])