Skip to content

Commit

Permalink
Merge pull request #478 from kms6bn/feature/invoke_one_test
Browse files Browse the repository at this point in the history
add test for one harvester
  • Loading branch information
erinspace committed Feb 12, 2016
2 parents de936a8 + bf08e7b commit 3af2e6d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,17 @@ def test(cov=True, doctests=True, verbose=False, debug=False, pdb=False):
run(cmd, pty=True)



@task
def one_test(shortname):
"""
Runs a test on a specific harvester
"""
cmd = 'py.test tests/test_harvesters.py::test_harvester\[{}]'.format(shortname)

run(cmd, pty=True)


@task
def wheelhouse(develop=False):
''' Sets up the wheelhouse for requirements '''
Expand Down

0 comments on commit 3af2e6d

Please sign in to comment.