Skip to content

grantstephens/noselfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoseLFS

https://travis-ci.org/grantstephens/noselfs.svg?branch=master

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

About

Decorator for Nose that fetched lfs files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages