Пример #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)
Пример #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')
Пример #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')
Пример #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')
Пример #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')