def test_repository_archiving(self):
        out_dir = tempfile.mkdtemp()
        repo = Repository(repo_url)
        repo.archive('master', out_dir)
        assert os.path.isfile(os.path.join(out_dir, "stackstrap.yml"))
        shutil.rmtree(out_dir)

        out_dir = tempfile.mkdtemp()
        repo = Repository(repo_url)
        repo.archive('missing-meta-for-tests', out_dir)
        assert not os.path.isfile(os.path.join(out_dir, "stackstrap.yml"))
        shutil.rmtree(out_dir)
Ensure our archive is created properly
dataset/ETHPy150Open stackstrap/stackstrap/tests/test_repository.py/RepositoryTestCase.test_repository_archiving