D-Bus testing: allow unlimited diffs

Python unittest has a size limit for the diffs that it prints. Our
output is already large and must be directed to logs, so allow diffs
of unlimited size.
This commit is contained in:
Patrick Ohly 2012-05-08 08:50:45 +02:00
parent 79f6139879
commit 843339ce0f
1 changed files with 3 additions and 0 deletions

View File

@ -418,6 +418,9 @@ class DBusUtil(Timeout):
DBusUtil.quit_events = []
DBusUtil.reply = None
# allow arbitrarily long diffs in Python unittest
self.maxDiff = None
kill = subprocess.Popen("sh -c 'killall -9 syncevo-dbus-server syncevo-local-sync syncevo-dbus-helper dbus-monitor >/dev/null 2>&1'", shell=True)
kill.communicate()