summaryrefslogtreecommitdiff
path: root/unit_tests/mock.py
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2007-03-26 19:36:29 +0000
committerJason Pellerin <jpellerin@gmail.com>2007-03-26 19:36:29 +0000
commitb1a91990216f11dc84a98278487be894869b5b39 (patch)
treea9074bc7cea3765a79c0fc751e285cbb095a6aa2 /unit_tests/mock.py
parent63880ec71d7460ec0b86f900882b214ac3185757 (diff)
downloadnose-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.py6
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):