From b2f8fe04c679c9164c56e47099df2dcd510d57b9 Mon Sep 17 00:00:00 2001
From: Alberto Berti <alberto@metapensiero.it>
Date: Sun, 22 Feb 2009 16:42:14 -0700
Subject: [PATCH] Use failUnlessEqual instead of failUnless(a == b)

---
 src/allmydata/scripts/cli.py   | 2 --
 src/allmydata/test/test_cli.py | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/allmydata/scripts/cli.py b/src/allmydata/scripts/cli.py
index 8bcb8ff6..196a3fc0 100644
--- a/src/allmydata/scripts/cli.py
+++ b/src/allmydata/scripts/cli.py
@@ -1,4 +1,3 @@
-
 import os.path, re, sys, fnmatch
 from twisted.python import usage
 from allmydata.scripts.common import BaseOptions, get_aliases
@@ -466,4 +465,3 @@ dispatch = {
     "check": check,
     "deep-check": deepcheck,
     }
-
diff --git a/src/allmydata/test/test_cli.py b/src/allmydata/test/test_cli.py
index ac23c538..21f3818c 100644
--- a/src/allmydata/test/test_cli.py
+++ b/src/allmydata/test/test_cli.py
@@ -948,8 +948,8 @@ class Backup(GridTestMixin, CLITestMixin, StallMixin, unittest.TestCase):
             all = set(all)
             included = set(included)
             excluded = set(excluded)
-            self.failUnless(filtered == included)
-            self.failUnless(all.difference(filtered) == excluded)
+            self.failUnlessEqual(filtered, included)
+            self.failUnlessEqual(all.difference(filtered), excluded)
 
         # test simple exclude
         backup_options = cli.BackupOptions()
-- 
2.45.2