Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/m/o/mootiro-maps-HEAD/mootiro_maps/apps/investment/tests.py   mootiro-maps(Download)
from main.tests import A_POLYGON_GEOMETRY
from organization.tests import AN_UNSAVED_ORGANIZATION
from .models import Investment, Investor
from organization.tests import Organization
 
def AN_UNSAVED_INVESTMENT():
    grantee = AN_UNSAVED_ORGANIZATION()
    grantee.save()
    investor, created = Investor.get_or_create_for(grantee)
    return Investment(name="Grana preta", description="lorem ipsum",