/dports/devel/py-fudge/fudge-1.1.1/fudge/tests/ |
H A D | test_fudge.py | 8 import fudge 10 from fudge import ( 17 bobby = fudge.Fake() 21 @fudge.with_fakes 31 _some_fake = fudge.Fake() 179 fudge.verify() 1225 @fudge.test 1239 @fudge.test 1253 @fudge.test 1272 @fudge.test [all …]
|
H A D | test_patcher.py | 8 import fudge 48 import fudge.tests.support._for_patch 51 with fudge.patch(long_path) as fake: 137 fake = fudge.Fake() 151 fake = fudge.Fake() 166 fake = fudge.Fake() 180 fake = fudge.Fake() 197 fake = fudge.Fake() 210 fudge.clear_expectations() 217 @fudge.patch('shutil.copy') [all …]
|
H A D | _py3_suite.py | 8 from fudge.tests.test_fudge import * 9 from fudge.tests.test_import_all import * 10 from fudge.tests.test_inspector import * 11 from fudge.tests.test_inspector_import_all import * 12 from fudge.tests.test_patcher import * 13 from fudge.tests.test_registry import *
|
H A D | test_registry.py | 5 import fudge 8 from fudge import ( 14 self.fake = fudge.Fake() 15 self.reg = fudge.registry 77 fudge.verify() 90 fudge.clear_expectations() 101 reg = fudge.registry 112 fudge.clear_calls() 113 fudge.clear_expectations() 132 fudge.verify() [all …]
|
H A D | test_inspector.py | 7 import fudge 8 from fudge import inspector 9 from fudge.inspector import arg, arg_not 10 from fudge import Fake 15 fudge.clear_expectations() 33 fudge.clear_expectations() 71 fudge.clear_expectations() 97 fudge.clear_expectations() 218 fudge.verify() 224 fudge.verify() [all …]
|
/dports/devel/py-fabric3/Fabric3-1.14.post1/tests/ |
H A D | test_project.py | 4 import fudge 5 from fudge.inspector import arg 17 fudge.clear_expectations() 62 @fudge.with_fakes 70 @fudge.with_fakes 82 @fudge.with_fakes 98 @fudge.with_fakes 114 @fudge.with_fakes 130 @fudge.with_fakes 147 @fudge.with_fakes [all …]
|
H A D | test_decorators.py | 5 import fudge 6 from fudge import Fake, with_fakes, patched_context 52 fudge.clear_calls() 53 fudge.clear_expectations() 57 fudge.verify() 66 fudge.clear_calls() 67 fudge.clear_expectations() 70 fudge.verify() 82 fudge.clear_calls() 83 fudge.clear_expectations() [all …]
|
/dports/devel/py-fudge/fudge-1.1.1/docs/ |
H A D | index.rst | 16 $ pip install fudge 42 Using `Git <https://git-scm.com/>`_ you can clone the source from https://github.com/fudge-py/fudge/ 54 using-fudge 56 why-fudge 90 - **Changed** `moved to github <https://github.com/fudge-py/fudge/>`_ and added maintainers 125 - Added :func:`fudge.patch` and :func:`fudge.test` 126 - Added :func:`fudge.Fake.expects_call` and :func:`fudge.Fake.is_callable` 138 :func:`fudge.Fake.next_call`. The same goes for :func:`fudge.Fake.provides`. 155 - Fixed bug where :func:`fudge.Fake.raises` obscured :func:`fudge.Fake.with_args` (Issue 6) 182 - **DEPRECATED** fudge.start() in favor of :func:`fudge.clear_calls` [all …]
|
H A D | using-fudge.rst | 2 .. _using-fudge: 36 >>> import fudge 83 >>> @fudge.test 112 >>> import fudge 143 >>> auth = fudge.Fake() 164 >>> import fudge 210 >>> import fudge 221 >>> fudge.verify() 289 >>> import fudge 306 >>> fudge.verify() [all …]
|
H A D | javascript.rst | 2 .. _javascript-fudge: 8 …orge.org/>`_ to JavaScript and that's pretty much what :ref:`Fudge <using-fudge>` is, I couldn't g… 13 Download the :ref:`Fudge source distribution <fudge-source>` and copy ``javascript/fudge/`` to your… 17 <script src="fudge/fudge.js" type="text/javascript"></script> 21 $ python fudge/testserver.py 28 Refer to :ref:`using-fudge` in Python to get an idea for how to use the JavaScript version. As men… 47 var fake_session = new fudge.Fake('session').expects('set').with_args('saw_landing_page',true); 53 fudge.clear_calls(); 55 fudge.verify();
|
H A D | migrating-0.9-to-1.0.rst | 6 After :ref:`many 0.9.x versions <fudge-changelog>` and some great input from the community, Fudge h… 8 Take a look at the new code examples in :ref:`using Fudge <using-fudge>` to get a feel for it. 15 …fudge.clear_calls`, :func:`fudge.verify`, and :func:`fudge.clear_expectations`! Instead, just wra… 20 …ur tests with :func:`fudge.with_fakes` or you need to move all declaration into the test function …
|
/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | gdevgdi-64k-bands-gtaylor.patch | 21 + int fudge=0; 29 + if (!fudge) { 32 + fudge=1; 35 + fudge++; 36 + ASSERT(fudge>=2); 45 +#define FUDGE(fudge, x) ( (fudge == 2 ? FUDGE2(x) \ 46 + : fudge == 3 ? FUDGE4(x) \ 47 + : fudge == 4 ? FUDGE8(x) \ 51 + use_band[f] = FUDGE(fudge, ibp[f]); 57 + if (fudge > 1) { [all …]
|
/dports/devel/py-fudge/fudge-1.1.1/docs/api/ |
H A D | fudge.rst | 3 fudge chapter 6 .. automodule:: fudge 8 .. autofunction:: fudge.patch 10 .. autofunction:: fudge.test 12 .. autoclass:: fudge.Fake 15 .. autofunction:: fudge.clear_calls 17 .. autofunction:: fudge.verify 19 .. autofunction:: fudge.with_fakes 21 .. autoclass:: fudge.FakeDeclarationError
|
H A D | fudge.patcher.rst | 5 fudge.patcher 8 .. automodule:: fudge.patcher 10 .. autofunction:: fudge.patcher.with_patched_object 12 .. autofunction:: fudge.patcher.patched_context 14 .. autofunction:: fudge.patcher.patch_object 16 .. autoclass:: fudge.patcher.PatchHandler
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/toys/ |
H A D | mesh-grad.cpp | 24 fudge = .01; variable 84 B[0] = Linear(tu-fudge, tu+fudge + inv_u_subs ); in draw() 85 B[1] = Linear(tv-fudge, tv-fudge); in draw() 90 B[0] = Linear(tu+fudge + inv_u_subs , tu+fudge + inv_u_subs); in draw() 91 B[1] = Linear(tv-fudge, tv+fudge + inv_v_subs); in draw() 96 B[0] = Linear(tu+fudge + inv_u_subs, tu-fudge); in draw() 97 B[1] = Linear(tv+fudge + inv_v_subs, tv+fudge + inv_v_subs); in draw() 102 B[0] = Linear(tu-fudge, tu-fudge); in draw() 103 B[1] = Linear(tv+fudge + inv_v_subs, tv-fudge); in draw()
|
/dports/math/lib2geom/lib2geom-1.1/src/toys/ |
H A D | mesh-grad.cpp | 24 fudge = .01; variable 84 B[0] = Linear(tu-fudge, tu+fudge + inv_u_subs ); in draw() 85 B[1] = Linear(tv-fudge, tv-fudge); in draw() 90 B[0] = Linear(tu+fudge + inv_u_subs , tu+fudge + inv_u_subs); in draw() 91 B[1] = Linear(tv-fudge, tv+fudge + inv_v_subs); in draw() 96 B[0] = Linear(tu+fudge + inv_u_subs, tu-fudge); in draw() 97 B[1] = Linear(tv+fudge + inv_v_subs, tv+fudge + inv_v_subs); in draw() 102 B[0] = Linear(tu-fudge, tu-fudge); in draw() 103 B[1] = Linear(tv+fudge + inv_v_subs, tv-fudge); in draw()
|
/dports/devel/R-cran-caret/caret/R/ |
H A D | BoxCoxTrans.R | 73 BoxCoxTrans.default <- function(y, x = rep(1, length(y)), fudge = .2, numUnique = 3, na.rm = FALSE… argument 92 out$fudge <- fudge 115 if(x$lambda < x$fudge & x$lambda > -x$fudge) 117 if(x$lambda < 1+x$fudge & x$lambda > 1-x$fudge) 133 if(object$lambda < object$fudge & object$lambda > -object$fudge) { 137 if(object$lambda < 1+object$fudge & object$lambda > 1-object$fudge) {
|
/dports/astro/p5-Astro-Sunrise/Astro-Sunrise-0.99/t/ |
H A D | 04basic.t | 40 my $fudge = 0; # in minutes 80 my $exp_h = fudge_h($expect_r, $fudge); 81 my $exp_l = fudge_l($expect_r, $fudge); 84 $exp_h = fudge_h($expect_s, $fudge); 85 $exp_l = fudge_l($expect_s, $fudge); 92 my ($exp, $fudge) = @_; 94 $mn += $fudge; 109 my ($exp, $fudge) = @_; 111 $mn -= $fudge;
|
H A D | 14precise.t | 39 my $fudge = 1; # in minutes 84 my $exp_h = fudge_h($expect_r, $fudge); 85 my $exp_l = fudge_l($expect_r, $fudge); 88 $exp_h = fudge_h($expect_s, $fudge); 89 $exp_l = fudge_l($expect_s, $fudge); 100 my ($exp, $fudge) = @_; 102 $mn += $fudge; 117 my ($exp, $fudge) = @_; 119 $mn -= $fudge;
|
H A D | 05polar.t | 48 my $fudge = 1; # in minutes 113 my $exp_h = fudge_h($expect_r, $fudge); 114 my $exp_l = fudge_l($expect_r, $fudge); 117 $exp_h = fudge_h($expect_s, $fudge); 118 $exp_l = fudge_l($expect_s, $fudge); 129 my ($exp, $fudge) = @_; 131 $mn += $fudge; 146 my ($exp, $fudge) = @_; 148 $mn -= $fudge;
|
/dports/textproc/p5-CSS-Sass/CSS-Sass-3.6.4/t/sass-spec/spec/libsass/ |
H A D | at-stuff.hrx | 2 @fudge hux bloo; 6 @fudge { 47 @fudge HEY, HOO, HA:first-child { 58 @fudge hux bloo; 63 @fudge { 101 @fudge HEY, HOO, HA:first-child { 110 @fudge hux bloo; 115 @fudge { 154 @fudge HEY, HOO, HA:first-child { 158 @fudge foo {
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/apr-util/crypto/ |
H A D | getuuid.c | 153 static apr_uint64_t fudge = 0; in get_current_time() local 162 if (time_last + fudge > time_now) in get_current_time() 163 fudge = time_last + fudge - time_now + 1; in get_current_time() 165 fudge = 0; in get_current_time() 170 ++fudge; in get_current_time() 173 *timestamp = time_now + fudge; in get_current_time()
|
/dports/devel/apr1/apr-util-1.6.1/crypto/ |
H A D | getuuid.c | 152 static apr_uint64_t fudge = 0; in get_current_time() local 161 if (time_last + fudge > time_now) in get_current_time() 162 fudge = time_last + fudge - time_now + 1; in get_current_time() 164 fudge = 0; in get_current_time() 169 ++fudge; in get_current_time() 172 *timestamp = time_now + fudge; in get_current_time()
|
/dports/dns/py-dnspython2/dnspython-2.1.0/dns/rdtypes/ANY/ |
H A D | TSIG.py | 35 def __init__(self, rdclass, rdtype, algorithm, time_signed, fudge, mac, argument 61 self.fudge = self._as_uint16(fudge) 82 fudge = tok.get_uint16() 96 return cls(rdclass, rdtype, algorithm, time_signed, fudge, mac, 104 self.fudge, 115 fudge = parser.get_uint16() 119 return cls(rdclass, rdtype, algorithm, time_signed, fudge, mac,
|
/dports/math/cbc/Cbc-releases-2.10.5/Cbc/src/ |
H A D | CbcObject.cpp | 93 CbcObject *fudge = const_cast< CbcObject * >(this); in feasibleRegion() local 94 fudge->feasibleRegion(); in feasibleRegion() 107 CbcObject *fudge = const_cast< CbcObject * >(this); in feasibleRegion() local 108 fudge->feasibleRegion(); in feasibleRegion() 122 CbcObject *fudge = const_cast< CbcObject * >(this); in createOsiBranch() local 123 return fudge->createBranch(solver, info, way); in createOsiBranch()
|