aiidateam / aiida-testing

A pytest plugin to simplify testing of AiiDA plugins.
MIT License
5 stars 6 forks source link

mock-code: add 'ignore_paths' argument #45

Closed ltalirz closed 3 years ago

ltalirz commented 3 years ago

fixes #44

The ignore_files parameter of the mock-code fixture allows ignoring files only based on their filename, but not based on their path in the the run directory

This does not cover the use case when a code creates a subfolder structure and one would like to ignore all files in certain subfolders.

ltalirz commented 3 years ago

@greschd Not sure whether you noticed the review request (if yes, no problem - it's not urgent)

greschd commented 3 years ago

Yep, just didn't get around to it yet :)