Skip to content

juacompe/YAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAS, Yet Another Stub

Usually, we use mock library for doing mock. There are 2 things we want to do with mock but we can't:

  • mock a python dictionary and
  • apply a role (DCI) to a mock object.

Ruxo has written a simple Stub class in BBG which is generic enough to be reused in other projects. Before we can find a good place for this stuff to land, I'll just leave it in my repository.

How to install

  1. pip install git+git://github.com/juacompe/YAS.git

How to run test

  1. git clone [email protected]:juacompe/YAS.git
  2. pip install -r setup_dev.pip
  3. nosetests

God speed to you, juacompe

About

Yet Another Stub

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages