@pytest.mark.parametrize("test_case", good_cases)
    def test_files_sizes(self, test_case):

        test_dir = file_utilities.create_test_directory(test_case)
        try:
            for i in test_case:
                if isinstance(i, tuple):
                    sys.stdout.write("checking size of %s\n" % (i[0], ))
                    file_size = os.stat(
                        os.path.join(test_dir, i[0])).st_size
                    assert file_size == i[1]
        finally:
            shutil.rmtree(test_dir)
Ensures that the files created are the correct size.
dataset/ETHPy150Open brownhead/superzippy/superzippy/tests/test_file_utilities.py/TestCreateTestDirectory.test_files_sizes