Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"filename" of "archive_should_contain_file" should support regex #45

Open
cristianfish opened this issue Nov 7, 2024 · 0 comments
Open

Comments

@cristianfish
Copy link

cristianfish commented Nov 7, 2024

The archive_should_contain_file(self, zip_file, filename) function currently accepts filename as a static string. To enhance the flexibility and usability of this function, it should also support filename in regex format.

to fix this, i put this line of code:
self.collections.should_contain_match(files, filename)
instead of this line of code:
self.collections.list_should_contain_value(files, filename)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant