from fabric.api import local


def test():
    local('coverage run --source=btsync,test $(which nosetests)')


def coverage():
    test()
    local('coverage report -m')


def test_integration():
    pass

from fabric.api import local


def test():
    local('coverage run --source=btsync,test $(which nosetests) test/unit')


def coverage():
    test()
    local('coverage report -m')


def test_integration():
    pass

Update fabfile to point to the new location for unit tests