Great! I'm gonna check it out :)
Thanks!
On Saturday, 27 July 2013 12:11:12 UTC-7, Michael Bayer wrote:
take a look in test/engine/test_pool and test/engine/test_reconnect for
examples
On Jul 27, 2013, at 1:50 PM, tiadobatima gbar...@gmail.com javascript:
wrote:
Hi Michael,
Yeah...
have you tried the mock library?I'm using it quite a bit now and have
mocked things like engines and connections. Should be pretty easy to make it
act like a result object.
On Jul 24, 2013, at 8:37 PM, tiadobatima gbara...@gmail.com wrote:
Hello there,
I''ve extended both RowProxy
Hi Michael,
Yeah... I was indeed thinking of using the mock library. I just can't wrap
my head around how to use it to mock ResultProxy.
On this note, mocking engine and connection would be also very handy. Would
you have any examples to share?
Thanks!
g.
On Saturday, 27 July 2013 08:10:24
take a look in test/engine/test_pool and test/engine/test_reconnect for examples
On Jul 27, 2013, at 1:50 PM, tiadobatima gbara...@gmail.com wrote:
Hi Michael,
Yeah... I was indeed thinking of using the mock library. I just can't wrap my
head around how to use it to mock ResultProxy.
On
Hello there,
I''ve extended both RowProxy and ResultProxy, and I'm trying to figure out
a way to mock objects of these classes in order to write some unit tests.
I was looking at the SQLAlchemy's unittests and I'm still not sure how to
do this without using a real database. Google hasn't been