def METHOD_NAME(self):
    """initialize a package dir (dir+storedir already exists)"""
    pac_dir = os.path.join(self.tmpdir, 'testpkg')
    os.mkdir(pac_dir)
    os.mkdir(os.path.join(pac_dir, osc.core.store))
    self.assertRaises(osc.oscerr.OscIOError, osc.core.Package.init_package, 'http://localhost', 'osctest', 'testpkg', pac_dir)