commit f908ce9c44ffad9237d0f571351adb2143001f52 Author: Ravi Chandra Padmala neenaoffline@gmail.com Date: Fri Jun 8 17:50:06 2012 +0530
Add unit tests for GETCONF parsing --- test/unit/response/__init__.py | 2 +- test/unit/response/getconf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/unit/response/__init__.py b/test/unit/response/__init__.py index 0e4889c..069ecba 100644 --- a/test/unit/response/__init__.py +++ b/test/unit/response/__init__.py @@ -2,5 +2,5 @@ Unit tests for stem.response. """
-__all__ = ["control_message", "control_line", "getinfo", "protocolinfo", "authchallenge"] +__all__ = ["control_message", "control_line", "getinfo", "getconf", "protocolinfo", "authchallenge"]
diff --git a/test/unit/response/getconf.py b/test/unit/response/getconf.py index b82256b..ca75130 100644 --- a/test/unit/response/getconf.py +++ b/test/unit/response/getconf.py @@ -6,7 +6,7 @@ import unittest
import stem.socket import stem.response -import stem.response.getinfo +import stem.response.getconf import test.mocking as mocking
EMPTY_RESPONSE = "250 OK"
tor-commits@lists.torproject.org