diff options
author | Jason Pellerin <jpellerin@gmail.com> | 2007-03-26 19:36:29 +0000 |
---|---|---|
committer | Jason Pellerin <jpellerin@gmail.com> | 2007-03-26 19:36:29 +0000 |
commit | b1a91990216f11dc84a98278487be894869b5b39 (patch) | |
tree | a9074bc7cea3765a79c0fc751e285cbb095a6aa2 /unit_tests/mock.py | |
parent | 63880ec71d7460ec0b86f900882b214ac3185757 (diff) | |
download | nose-b1a91990216f11dc84a98278487be894869b5b39.tar.gz |
Work on integrating plugin calls, notes on result/proxy system.
Diffstat (limited to 'unit_tests/mock.py')
-rw-r--r-- | unit_tests/mock.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unit_tests/mock.py b/unit_tests/mock.py index cbc7e62..e08566a 100644 --- a/unit_tests/mock.py +++ b/unit_tests/mock.py @@ -1,6 +1,7 @@ from nose.case import Test from nose.config import Config from nose import proxy +from nose.util import odict class ResultProxyFactory: def __call__(self, result, test): @@ -56,7 +57,10 @@ class RecordingPluginManager(object): return RecordingPluginProxy(self, call) def reset(self): - self.called = {} + self.called = odict() + + def calls(self): + return self.called.keys() class RecordingPluginProxy(object): |