Beispiel #1
0
 def test_bad_extension(self):
     '''Test that build_python() recognises an improper file extension'''
     helpers.bad_extension(self, gs.build_python, good='test.py')
Beispiel #2
0
 def test_bad_extension(self):
     '''Test that build_matlab() recognises an improper file extension'''
     helpers.bad_extension(self, gs.build_matlab, good='test.m')
 def test_bad_extension(self):
     '''Test that build_lyx() recognises an improper file extension'''
     helpers.bad_extension(self, gs.build_lyx, good = 'test.lyx')
Beispiel #4
0
 def test_bad_extension(self):
     '''Test that build_r() recognises an inappropriate file extension'''
     helpers.bad_extension(self, gs.build_r, good='test.r')
 def test_bad_extension(self, mock_check):
     mock_check.side_effect = fx.make_stata_side_effect('stata-mp')
     env = {'stata_executable': 'stata-mp'}
     helpers.bad_extension(self, gs.build_stata, good='test.do', env=env)