This provides a nice little decorator that extends the nose attrib decorator and adds a git lfs argument which will pull any needed lfs files for the test if they haven't been fetched already
Just use the focus decorator in your tests:
from noselfs import noselfs
@noselfs('filename.ext', 'data', 'unit')
def test_my_amazing_feature(file_name):
with open(file_name) as open_file:
# Whatever
assert_is_awesome(my_feature)
Use pip!:
pip install noselfs
Or if you're developing it:
pip install -e .
pip install -e ".[tests]"
TODO