[tests] Don't hold a driver responsible for ctone if not rf.has_ctone

This commit is contained in:
Dan Smith 2011-05-02 17:09:46 -07:00
parent 38e30f982e
commit 642c995ddd

View File

@ -135,6 +135,9 @@ class TestCase:
else:
# Name mismatch fair if filter_name() is right
v = self._wrapper.do("filter_name", v).rstrip()
elif k == "ctone" and not rf.has_ctone:
continue
try:
if b.__dict__[k] != v:
msg = "Field `%s' " % k + \