@task
def test(cov=True, doctests=True, verbose=False, debug=False, pdb=False):
    cmd = 'py.test scrapi tests'
    if doctests:
        cmd += ' --doctest-modules'
    if verbose:
        cmd += ' -v'
    if debug:
        cmd += ' -s'
    if cov:
        cmd += ' --cov-report term-missing --cov-config .coveragerc --cov scrapi --cov api'
    if pdb:
        cmd += ' --pdb'

    run(cmd, pty=True)
Unit test of DeleteInstance().
dataset/ETHPy150Open CenterForOpenScience/scrapi/tasks.py/test--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/Solutions-Using-ETL-tool-on-Google-Compute-Engine/gce_api_test.py/GceApiTest.testDeleteInstance