def METHOD_NAME(self):
    os.chmod(self.dirs.data_dir, 0o000)
    os.chmod(self.dirs.media_dir, 0o000)
    os.chmod(self.dirs.consumption_dir, 0o000)
    self.addCleanup(os.chmod, self.dirs.data_dir, 0o777)
    self.addCleanup(os.chmod, self.dirs.media_dir, 0o777)
    self.addCleanup(os.chmod, self.dirs.consumption_dir, 0o777)
    msgs = paths_check(None)
    self.assertEqual(len(msgs), 3)
    for msg in msgs:
        self.assertTrue(msg.msg.endswith("is not writeable"))