Skip to main content

A nosetest add-on that gets lfs files

Project description

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

Project details


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.9.tar.gz (3.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

noselfs-0.0.9-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

noselfs-0.0.9-py2-none-any.whl (4.7 kB view details)

Uploaded Python 2

File details

Details for the file noselfs-0.0.9.tar.gz.

File metadata

  • Download URL: noselfs-0.0.9.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for noselfs-0.0.9.tar.gz
Algorithm Hash digest
SHA256 b6fef0263f3a138bafa78f616b3cd8e789a54d2262b4b1949bf4a893d5bc79b7
MD5 35a23a499596ea21e94da5cfbc2910e7
BLAKE2b-256 83678dbe55ac0183a55a828dd4a9f60cfc2d32a179d4b236f34d429c41be32cd

See more details on using hashes here.

File details

Details for the file noselfs-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for noselfs-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 cfd79ef98c543e88fb1d016ae8b086fae2d51af34fb10ca2d57c1b6cafe214e2
MD5 bf0ea349742ddcc852152ebb049018af
BLAKE2b-256 29f71666e78331685fa7b7eddb2d4eda9bef695d61e0b970b9be61fcd80b7acf

See more details on using hashes here.

File details

Details for the file noselfs-0.0.9-py2-none-any.whl.

File metadata

File hashes

Hashes for noselfs-0.0.9-py2-none-any.whl
Algorithm Hash digest
SHA256 8d434fd231f133e2648828189c1fbaae2753dfd54e6336570af7b543d54877ec
MD5 c125dea708adf99e075473506182e2dd
BLAKE2b-256 e390ffac50d6ae2cb32afe648ffdbb5c1ca4977a3344b270320ee7c56a8a23ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page