'Specifying an invalid directory to L{LogFile} raises C{IOError}.'

def test_nonExistentDir(self):

    e = self.assertRaises(IOError, logfile.LogFile, self.name, 'this_dir_does_not_exist')
    self.assertEqual(e.errno, errno.ENOENT)
