Exemple #1
0
 def test_3unicode(self):
     s = PipelineSettings({"FOO_BINARY": "env actualprogram"})
     self.assertEqual(s.FOO_BINARY, ('env', 'actualprogram'))
Exemple #2
0
 def test_tuples_are_normal(self):
     s = PipelineSettings({"FOO_ARGUMENTS": ("explicit", "with", "args")})
     self.assertEqual(s.FOO_ARGUMENTS, ('explicit', 'with', 'args'))
Exemple #3
0
 def test_expected_splitting(self):
     s = PipelineSettings({"FOO_BINARY": "env actualprogram"})
     self.assertEqual(s.FOO_BINARY, ('env', 'actualprogram'))
Exemple #4
0
 def test_expected_preservation(self):
     s = PipelineSettings({"FOO_BINARY": r"actual\ program"})
     self.assertEqual(s.FOO_BINARY, ('actual program', ))
 def test_win_path_preservation(self):
     s = PipelineSettings(
         {"FOO_BINARY": "C:\\Test\\ActualProgram.exe argument"})
     self.assertEqual(s.FOO_BINARY,
                      ('C:\\Test\\ActualProgram.exe', 'argument'))