Beispiel #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'
         ])
Beispiel #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'])
Beispiel #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\"'])
Beispiel #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\"'])