Skip to content

scottybarr/CouchbaseMock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CouchbaseMock

A mock couchbase class to be used for python unit tests.

Setup:

pip install -r requirements.txt

Usage:

fake = MockCouchbase()["bucket_name"]
fake.set('key', 60, 0, "value")
fake.get('key') # returns "value"

Running The tests:

nosetests

About

A mock couchbase class to be used for python unit tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages