@pytest.mark.parametrize("test_case", good_cases)
    def test_existence(self, zip_tree, test_case):
        """
        Ensure that all the files that were supposed to get zipped up make it
        it into the archive, and ensure that none got in that were not
        supposed to.

        """

        test_dir, zip_file, unzip_dir = zip_tree

        real_contents = file_utilities.get_files(unzip_dir)
        expected_contents = file_utilities.get_files(test_dir)

        sys.stdout.write("real_contents = %s\n" % (str(real_contents), ))
        sys.stdout.write(
            "expected_contents = %s\n" % (str(expected_contents), ))

        assert set(real_contents) == set(expected_contents)
dataset/ETHPy150Open brownhead/superzippy/superzippy/tests/test_zipdir.py/TestZipDir.test_existence/original