Skip to content

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

Description

@cristianfish

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions