def METHOD_NAME(self):
    """initialize a package dir (dir already exists)"""
    pac_dir = os.path.join(self.tmpdir, 'testpkg')
    os.mkdir(pac_dir)
    osc.core.Package.init_package('http://localhost', 'osctest', 'testpkg', pac_dir)
    storedir = os.path.join(pac_dir, osc.core.store)
    self.assertFalse(os.path.exists(os.path.join(storedir, '_meta_mode')))
    self.assertFalse(os.path.exists(os.path.join(storedir, '_size_limit')))
    self._check_list(os.path.join(storedir, '_project'), 'osctest\n')
    self._check_list(os.path.join(storedir, '_package'), 'testpkg\n')
    self._check_list(os.path.join(storedir, '_files'), '<directory />\n')
    self._check_list(os.path.join(storedir, '_apiurl'), 'http://localhost\n')