If I have a class
class Foo(object):
def bar(a):
pass
Then the following should fail
m_foo = mox.MockObject(Foo)
m_foo.bar(1, 2)
because the number of arguments doesn't match the acutal implementations
restrictions.
This will allow tests to fail if the API that they are testing changes from
beneath them.
Original issue reported on code.google.com by endob...@google.com on 12 Oct 2011 at 6:16
Original issue reported on code.google.com by
endob...@google.com
on 12 Oct 2011 at 6:16