Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 def test_bad_extension(self):
     '''Test that build_latex() recognises an improper file extension'''
     helpers.bad_extension(self, gs.build_latex, good='test.tex')
Exemplo n.º 3
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')
Exemplo n.º 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')
Exemplo n.º 5
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')