def test_cpp(capsys): args = Namespace( output=tempfile.gettempdir(), user_lib_dir=False, grc_files=[path.join(path.dirname(__file__), 'resources', 'test_cpp.grc')], run=True ) main(args) out, err = capsys.readouterr() assert not err
def test_compiler(capsys): args = Namespace( output=tempfile.gettempdir(), user_lib_dir=False, grc_files=[path.join(path.dirname(__file__), 'resources', 'test_compiler.grc')], run=True ) main(args) out, err = capsys.readouterr() assert not err
def test_compiler(capsys): args = Namespace( output=tempfile.gettempdir(), user_lib_dir=False, grc_files=[ path.join(path.dirname(__file__), "resources", "test_compiler.grc") ], run=True, ) main(args) out, err = capsys.readouterr() assert not err