blaix / tdubs

A python test double library
MIT License
8 stars 1 forks source link

Split tdubs.py into separate modules #5

Closed blaix closed 8 years ago

blaix commented 8 years ago

Depends on #6

blaix commented 8 years ago

This makes the usage too weird:

from tdubs.stub import Stub, calling
from tdubs.verification import verify

That's not the API I want. I prefer:

from tdubs import Stub, calling, verify

I could import everything in __init__.py but then I run into tricky circular imports, and that's not something I want to deal with right now just to avoid a long python file, which honestly hasn't been bothering me as much as I thought it would.