コード例 #1
0
ファイル: test_lib.py プロジェクト: stephenk-zillow/sprinter
 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'
         ])
コード例 #2
0
ファイル: test_lib.py プロジェクト: GreenGremlin/sprinter
 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'])
コード例 #3
0
ファイル: test_lib.py プロジェクト: GreenGremlin/sprinter
 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\"'])
コード例 #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\"'])