Andrew Kelleher

Results 10 issues of Andrew Kelleher

Pretty simple to reproduce: ``` $ pip install brukva Collecting brukva Could not find a version that satisfies the requirement brukva (from versions: ) No matching distribution found for brukva...

When the environment variable, CALIENDO_DISABLE_COUNTER is set to 'True' disable the counter such that it always returns 0

If a method isn't defined on a class directly it can't be stubbed out. Add support for this by wrapping getattr on the parent class (or with some other mechanism)

Create a decorator that can be passed a function handle which then watches the handle (by wrapping it) in the context of a patch. Each time the function is called...

Manually patch all the methods of urllib, urllib2, and urllib3 that call external services. Provide a convenience method to patch those all at once, `caliendo.patch.patch_urllibs()`, for example.

For example, caliendo.counter.counter.get_from_trace

bug

This is one of the newest features. There are not yet full regression/unit tests for this functionality. Those tests should be constructed and the functionality should be fully documented in...

enhancement

Patch the methods of MySQLdb that call external services. Provide a convenience method/decorator to patch them all at once; for example `caliendo.patch.patch_mysql`

enhancement

A piece of functionality that was put to the side a while ago is `caliendo.facade.Facade`. The `Facade` class is intended to decorate the class passed to it's initializer. The goal...