Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
check.test requires services
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jan 5, 2015
1 parent e97bf25 commit 93b96bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fbox/fabfile/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from fabric.colors import red
from fabric.utils import abort, puts

from fabfile import cd, confirm, run_local, require_env, step
from fabfile import cd, confirm, run_local, require_env, require_services, step


def complain_on_failure(task, complaint):
Expand Down Expand Up @@ -149,7 +149,9 @@ def deploy():


@task
@runs_once
@hosts('')
@require_services
def test():
step('Running backend testsuite...')
run_local('venv/bin/python manage.py test')
Expand Down

0 comments on commit 93b96bf

Please sign in to comment.