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

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

src/p/y/pyon-HEAD/pyon/util/unit_test.py   pyon(Download)
        def side_effect(_def, _dict=None, **kwargs):
            test_obj = IonObject(_def, _dict, **kwargs)
            test_obj._validate()
            return DEFAULT
        mock_ionobj.side_effect = side_effect