Home
last modified time | relevance | path

Searched refs:make_factory (Results 1 – 16 of 16) sorted by relevance

/dports/devel/py-factory-boy/factory_boy-3.2.1/factory/
H A Dhelpers.py29 def make_factory(klass, **kwargs): function
47 return make_factory(klass, **kwargs).build()
52 return make_factory(klass, **kwargs).build_batch(size)
57 return make_factory(klass, **kwargs).create()
62 return make_factory(klass, **kwargs).create_batch(size)
67 return make_factory(klass, **kwargs).stub()
72 return make_factory(klass, **kwargs).stub_batch(size)
77 return make_factory(klass, **kwargs).generate(strategy)
82 return make_factory(klass, **kwargs).generate_batch(strategy, size)
87 return make_factory(klass, **kwargs).simple_generate(create)
[all …]
H A D__init__.py45 make_factory,
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/innobase/xtrabackup/test/python/testtools/tests/
H A Dtest_deferredruntest.py454 factory = AsynchronousDeferredRunTest.make_factory(reactor, timeout)
463 factory = AsynchronousDeferredRunTest.make_factory()
477 factory = AsynchronousDeferredRunTest.make_factory(reactor=reactor)
489 factory = AsynchronousDeferredRunTest.make_factory(timeout=timeout)
500 factory = AsynchronousDeferredRunTest.make_factory(debug=True)
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/xtrabackup/test/python/testtools/tests/
H A Dtest_deferredruntest.py454 factory = AsynchronousDeferredRunTest.make_factory(reactor, timeout)
463 factory = AsynchronousDeferredRunTest.make_factory()
477 factory = AsynchronousDeferredRunTest.make_factory(reactor=reactor)
489 factory = AsynchronousDeferredRunTest.make_factory(timeout=timeout)
500 factory = AsynchronousDeferredRunTest.make_factory(debug=True)
/dports/biology/p5-AcePerl/AcePerl-1.92/Ace/Graphics/
H A DTrack.pm29 my $glyph_factory = $class->make_factory($glyph_name,@options);
269 sub make_factory { subroutine
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/3rdparty/testtools-0.9.34/testtools/tests/
H A Dtest_deferredruntest.py470 factory = AsynchronousDeferredRunTest.make_factory(reactor, timeout)
479 factory = AsynchronousDeferredRunTest.make_factory()
493 factory = AsynchronousDeferredRunTest.make_factory(reactor=reactor)
505 factory = AsynchronousDeferredRunTest.make_factory(timeout=timeout)
516 factory = AsynchronousDeferredRunTest.make_factory(debug=True)
/dports/devel/py-testtools/testtools-2.5.0/testtools/tests/twistedsupport/
H A Dtest_runtest.py518 factory = AsynchronousDeferredRunTest.make_factory(reactor, timeout)
527 factory = AsynchronousDeferredRunTest.make_factory()
541 factory = AsynchronousDeferredRunTest.make_factory(reactor=reactor)
553 factory = AsynchronousDeferredRunTest.make_factory(timeout=timeout)
564 factory = AsynchronousDeferredRunTest.make_factory(debug=True)
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/xtrabackup/test/python/testtools/
H A Ddeferredruntest.py116 def make_factory(cls, reactor=None, timeout=0.005, debug=False): member in AsynchronousDeferredRunTest
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/innobase/xtrabackup/test/python/testtools/
H A Ddeferredruntest.py116 def make_factory(cls, reactor=None, timeout=0.005, debug=False): member in AsynchronousDeferredRunTest
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/3rdparty/testtools-0.9.34/testtools/
H A Ddeferredruntest.py116 def make_factory(cls, reactor=None, timeout=0.005, debug=False): member in AsynchronousDeferredRunTest
/dports/devel/py-factory-boy/factory_boy-3.2.1/docs/
H A Dchangelog.rst95 ``factory.make_factory(dict, FactoryClass._meta.pre_declarations)`` instead.
552 - Allow overriding the base factory class for :func:`~factory.make_factory` and friends.
729 …- Provide the :func:`~factory.make_factory` helper: ``MyClassFactory = make_factory(MyClass, x=3, …
H A Dreference.rst1958 .. function:: make_factory(klass, **kwargs)
1962 The :func:`make_factory` function takes a class, declarations as keyword arguments,
1967 UserFactory = make_factory(User,
1986 UserFactory = make_factory(models.User,
2012 Internally, helper methods use :func:`make_factory` to create a new
2019 :func:`make_factory` examples.
/dports/devel/py-factory-boy/factory_boy-3.2.1/
H A DChangeLog95 ``factory.make_factory(dict, FactoryClass._meta.pre_declarations)`` instead.
552 - Allow overriding the base factory class for :func:`~factory.make_factory` and friends.
729 …- Provide the :func:`~factory.make_factory` helper: ``MyClassFactory = make_factory(MyClass, x=3, …
/dports/devel/py-testtools/testtools-2.5.0/testtools/twistedsupport/
H A D_runtest.py284 def make_factory(cls, reactor=None, timeout=0.005, debug=False, member in AsynchronousDeferredRunTest
/dports/devel/py-factory-boy/factory_boy-3.2.1/tests/
H A Dtest_declarations.py221 f = helpers.make_factory(mock.MagicMock, post=declaration)
H A Dtest_using.py312 … fact = factory.make_factory(TestObject, two=2, three=factory.LazyAttribute(lambda o: o.two + 1))