summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWAMOTO Toshihiro <iwamoto@valinux.co.jp>2015-06-24 18:47:07 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-06-25 12:23:31 +0900
commit2749f9d4edf646920326ade95a63d4682cc184bd (patch)
tree86613f66870e5524558a14dfd107cf994c4422d3
parent5b7fee0641566fc8e26d7817573b0135f98693bd (diff)
python3: Use formencode instead of xml_compare
The last release of xml_compare is 7 years ago and doesn't support python3. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/unit/lib/test_of_config_classes.py2
-rw-r--r--tools/test-requires2
2 files changed, 2 insertions, 2 deletions
diff --git a/ryu/tests/unit/lib/test_of_config_classes.py b/ryu/tests/unit/lib/test_of_config_classes.py
index 9fa99a4d..5b0dd6d3 100644
--- a/ryu/tests/unit/lib/test_of_config_classes.py
+++ b/ryu/tests/unit/lib/test_of_config_classes.py
@@ -20,7 +20,7 @@ from nose.tools import ok_
import sys
import lxml.etree as ET
-from xml_compare import xml_compare
+from formencode.doctest_xml_compare import xml_compare
from ryu.lib.of_config import classes as ofc
diff --git a/tools/test-requires b/tools/test-requires
index 06b8c548..04ed5a23 100644
--- a/tools/test-requires
+++ b/tools/test-requires
@@ -3,6 +3,6 @@ mock
nose
pep8
pylint==0.25.0
-xml_compare
+formencode
lxml # OF-Config
paramiko # NETCONF, BGP speaker