Commit be076125 authored by Alexandre Fayolle's avatar Alexandre Fayolle
Browse files

replace logilab.common.fileutils.ensure_mode (removed from common) with ensure_fs_mode

suppress reference to pylint W0131 (non existing warning)
parent d76df50bfa8c
# pylint: disable-msg=C0103,W0131
# pylint: disable-msg=C0103
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
......@@ -17,7 +17,7 @@
import sys
from cStringIO import StringIO
from logilab.common.testlib import TestCase
from logilab.common.fileutils import ensure_mode
from logilab.common.fileutils import ensure_fs_mode
from stat import S_IWRITE
import ail
......@@ -257,7 +257,7 @@
self.reload_file = 'data/for_reload.ail'
self.brain.load([self.reload_file])
# Make sure the reload_file is writable
ensure_mode(self.reload_file, S_IWRITE)
ensure_fs_mode(self.reload_file, S_IWRITE)
def tearDown(self):
# for_reload.ail is supposed to be empty
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment