コード例 #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
ファイル: test_build_r.py プロジェクト: thomas9t/gslab_python
 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')