Did I find the right examples for you? yes no

All Samples(8)  |  Call(0)  |  Derive(7)  |  Import(1)

src/b/o/bodhi-HEAD/bodhi/tests/models/test_models.py   bodhi(Download)
from bodhi.models import (UpdateStatus, UpdateType, UpdateRequest,
                          UpdateSeverity, UpdateSuggestion)
from bodhi.tests.models import ModelTest
from bodhi.config import config
 
 
class TestRelease(ModelTest):
class TestEPELRelease(ModelTest):
    """Unit test case for the ``Release`` model."""
    klass = model.Release
    attrs = dict(
        name=u"EL5",
class TestPackage(ModelTest):
    """Unit test case for the ``Package`` model."""
    klass = model.Package
    attrs = dict(name=u"TurboGears")
 
class TestBuild(ModelTest):
    """Unit test case for the ``Build`` model."""
    klass = model.Build
    attrs = dict(
        nvr=u"TurboGears-1.0.8-3.fc11",