Did I find the right examples for you? yes no

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/d/e/dead-parrot-HEAD/tests/unit/test_models.py   dead-parrot(Download)
    def test_is_valid(self):
        foo2 = self.Foo(bar=u'boo')
        foo3 = self.Foo(foobar=u'meh', bar=u'boo')
        self.assertEquals(foo2._is_valid, True)
        self.assertEquals(foo3._is_valid, True)
 
    def test_is_not_valid(self):
        foo1 = self.Foo(foobar=u'boo')