Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 610 Bytes

README.markdown

File metadata and controls

22 lines (16 loc) · 610 Bytes

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