Hi All,

I am try to write test case with mocking original libraries.
But we have scenario that some time we need this mock but some time we need
to create object of original class so that test run on real scenario.

Is there a way we can play with mock library or any other way that some
time same test case runs with mock and some time with original objects?

Right now we are writing 2 testcases one using mock and one with original
class object.

Nitin K
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to