- Original Message -
> From: "Xavier Pegenaute"
> To: python-list@python.org
> Sent: Saturday, 7 February, 2015 11:09:10 PM
> Subject: How to Mock a mongodb
>
> Dear,
>
> I am trying to mock the use of a mongo db and I am having some
> trouble.
>
Dear,
I am trying to mock the use of a mongo db and I am having some trouble.
Appears that I am not able to return a desired value from
mongo.find().count(). I made a proof of concept to try to reduce
complexity of the real problem.
You can find the code which is going to be tested in [1], a
On 07/02/2015 22:09, Xavier Pegenaute wrote:
Dear,
I am trying to mock the use of a mongo db and I am having some trouble.
Appears that I am not able to return a desired value from
mongo.find().count(). I made a proof of concept to try to reduce
complexity of the real problem.
You can find the
Dear,
I am trying to mock the use of a mongo db and I am having some trouble.
Appears that I am not able to return a desired value from
mongo.find().count(). I made a proof of concept to try to reduce
complexity of the real problem.
You can find the code which is going to be tested in [1], a