A nosetest add-on that gets lfs files
Project description
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
Usage
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)
How it works
Installation
Use pip!:
pip install noselfs
Or if you’re developing it:
pip install -e .
pip install -e ".[tests]"
Tests
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
noselfs-0.0.8.tar.gz
(3.3 kB
view hashes)