def test_cl_arg(self, mock_check):
        mock_check.side_effect = fx.make_stata_side_effect('stata-mp')

        env = {'stata_executable': None}
        helpers.test_cl_args(self, gs.build_stata, mock_check, 'do', env=env)
Example #2
0
 def test_cl_arg(self, mock_check_output):
     mock_check_output.side_effect = fx.make_r_side_effect(True)
     helpers.test_cl_args(self, gs.build_r, mock_check_output, 'R')
 def test_cl_arg(self, mock_check_output):
     mock_check_output.side_effect = fx.python_side_effect
     helpers.test_cl_args(self, gs.build_python, mock_check_output, 'py')
Example #4
0
 def test_cl_arg(self, mock_system):
     mock_system.side_effect = fx.python_side_effect
     helpers.test_cl_args(self, gs.build_python, mock_system, 'py')
Example #5
0
 def test_cl_arg(self, mock_system):
     mock_system.side_effect = fx.r_side_effect
     helpers.test_cl_args(self, gs.build_r, mock_system, 'R')