Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(20)  |  Call(18)  |  Derive(0)  |  Import(2)

src/l/e/lettuce-HEAD/tests/integration/test_alfaces.py   lettuce(Download)
import multiprocessing
 
from tests.asserts import assert_equals, assert_not_equals
from lettuce.fs import FileSystem
current_directory = FileSystem.dirname(__file__)
    status, out = commands.getstatusoutput(
        "python manage.py harvest --verbosity=3")
    assert_equals(status, 0, out)
 
    assert "Test the django app DO NOTHING" in out
        status, out = commands.getstatusoutput(
            "python manage.py harvest --verbosity=3")
        assert_equals(out, e)
        assert_not_equals(status, 0)
 
        status, out = commands.getstatusoutput(
            "python manage.py harvest --verbosity=3 --port=9889")
        assert_equals(out, e)
        assert_not_equals(status, 0)
 
    status, out = commands.getstatusoutput(
        "python manage.py harvest --verbosity=3 --apps=foobar,donothing")
    assert_equals(status, 0, out)
 
    assert "Test the django app DO NOTHING" in out

src/l/e/lettuce-HEAD/tests/integration/test_grocery.py   lettuce(Download)
 
from lettuce.fs import FileSystem
from tests.asserts import assert_equals
 
current_directory = FileSystem.dirname(__file__)
        "python manage.py harvest --verbosity=2 ./features/")
 
    assert_equals(status, 0, out)
 
    lines = out.splitlines()
        "python manage.py harvest --verbosity=2 ./features/")
 
    assert_equals(status, 0, out)
 
    lines = out.splitlines()
        "python manage.py harvest --verbosity=2 ./features/ %s" % extra_args)
 
    assert_equals(status, 0, out)
 
    lines = out.splitlines()