Skip to main content

Fake MongoDB implementation

Project description

This package provides a FAKE mongoDB implementation and is quite handy for testing.

CHANGES

1.0.1 (2015-03-17)

  • bugfix: reflect changes in pymongo > 2.8.0. The dta basename checker method _check_name method was moved from pymongo.database to pymongo.helpers. Make import work for all pymongo versions.

1.0.0 (2013-03-06)

  • Added support for Python 3.3.

  • Dropped support for Python 2.4 and 2.5.

0.2.1 (2013-02-02)

  • added realistic FakeCollection.remove return values

  • bugfix around FakeCollection.save

0.2.0 (2012-12-16)

  • feature: support pymongo 2.4 API and support new safe write concern

  • include m01.stub for testing mongofake components and compare with real pymongo output. Use –all option for real pymongo and mongodb tests.

  • implemented some basic tests and run them with m01.stub and m01.mongofake libraries

  • implemented correct response for collection update method based on new pymongo 2.4. More will follow if more tests get implemented

  • switch from lovely.importchecker to p01.recipe.setup importchecker which doesn’t warn about bad svn url during buildout process

0.1.1 (2012-12-10)

  • inproved dictify method, also convert single SON object to dict

  • add some initial tests

0.1.0 (2012-05-22)

  • First independent release from m01.mongo.testing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

m01.mongofake-1.0.1.zip (22.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page