[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Explicitly enable Controller value caching
commit e69530c8af668f7b5f20c350c460e21c0b0cf081
Author: Sean Robinson <seankrobinson@xxxxxxxxx>
Date: Sat Jan 5 14:15:21 2013 -0700
Explicitly enable Controller value caching
I'll be playing with turning caching on and off later, so I'll set a
known state.
Signed-off-by: Sean Robinson <seankrobinson@xxxxxxxxx>
---
test/unit/control/controller.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/unit/control/controller.py b/test/unit/control/controller.py
index 0e1baae..3b8a52d 100644
--- a/test/unit/control/controller.py
+++ b/test/unit/control/controller.py
@@ -16,7 +16,7 @@ from test import mocking
class TestControl(unittest.TestCase):
def setUp(self):
socket = stem.socket.ControlSocket()
- self.controller = Controller(socket)
+ self.controller = Controller(socket, enable_caching = True)
def tearDown(self):
mocking.revert_mocking()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits