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 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 very helpful either.
> 
> Any hints? :)
> 
> Thanks!
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to