def METHOD_NAME(salt_call_cli, umask):
    """
    Should produce a file with mode 640
    """
    with pytest.helpers.temp_file() as name:
        name.unlink()
        salt_call_cli.run("state.single", fun="file.touch", name=str(name), umask=umask)
        assert oct(name.stat().st_mode)[-3:] == "640"