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)
def test_bad_extension(self): '''Test that build_latex() recognises an improper file extension''' helpers.bad_extension(self, gs.build_latex, good='test.tex')
def test_bad_extension(self): '''Test that build_python() recognises an improper file extension''' helpers.bad_extension(self, gs.build_python, good = 'test.py')
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): '''Test that build_matlab() recognises an improper file extension''' helpers.bad_extension(self, gs.build_matlab, good = 'test.m')