From edec9c986917e8f43720fa28560756f1f8b550df Mon Sep 17 00:00:00 2001
From: david-sarah <david-sarah@jacaranda.org>
Date: Tue, 9 Nov 2010 15:08:16 -0800
Subject: [PATCH] test_client.py: change overzealous use of
 failUnlessReallyEqual on integers back to failUnlessEqual.

---
 src/allmydata/test/test_client.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/allmydata/test/test_client.py b/src/allmydata/test/test_client.py
index 59a37f98..7c6a4567 100644
--- a/src/allmydata/test/test_client.py
+++ b/src/allmydata/test/test_client.py
@@ -81,7 +81,7 @@ class Basic(testutil.ReallyEqualMixin, unittest.TestCase):
         f.write("reserved_space = 1000\n")
         f.close()
         c = client.Client(basedir)
-        self.failUnlessReallyEqual(c.getServiceNamed("storage").reserved_space, 1000)
+        self.failUnlessEqual(c.getServiceNamed("storage").reserved_space, 1000)
 
     def test_reserved_2(self):
         basedir = "client.Basic.test_reserved_2"
@@ -93,7 +93,7 @@ class Basic(testutil.ReallyEqualMixin, unittest.TestCase):
         f.write("reserved_space = 10K\n")
         f.close()
         c = client.Client(basedir)
-        self.failUnlessReallyEqual(c.getServiceNamed("storage").reserved_space, 10*1000)
+        self.failUnlessEqual(c.getServiceNamed("storage").reserved_space, 10*1000)
 
     def test_reserved_3(self):
         basedir = "client.Basic.test_reserved_3"
@@ -105,7 +105,7 @@ class Basic(testutil.ReallyEqualMixin, unittest.TestCase):
         f.write("reserved_space = 5mB\n")
         f.close()
         c = client.Client(basedir)
-        self.failUnlessReallyEqual(c.getServiceNamed("storage").reserved_space,
+        self.failUnlessEqual(c.getServiceNamed("storage").reserved_space,
                              5*1000*1000)
 
     def test_reserved_4(self):
@@ -118,8 +118,8 @@ class Basic(testutil.ReallyEqualMixin, unittest.TestCase):
         f.write("reserved_space = 78Gb\n")
         f.close()
         c = client.Client(basedir)
-        self.failUnlessReallyEqual(c.getServiceNamed("storage").reserved_space,
-                                   78*1000*1000*1000)
+        self.failUnlessEqual(c.getServiceNamed("storage").reserved_space,
+                             78*1000*1000*1000)
 
     def test_reserved_bad(self):
         basedir = "client.Basic.test_reserved_bad"
@@ -131,7 +131,7 @@ class Basic(testutil.ReallyEqualMixin, unittest.TestCase):
         f.write("reserved_space = bogus\n")
         f.close()
         c = client.Client(basedir)
-        self.failUnlessReallyEqual(c.getServiceNamed("storage").reserved_space, 0)
+        self.failUnlessEqual(c.getServiceNamed("storage").reserved_space, 0)
 
     def _permute(self, sb, key):
         return [ peerid
-- 
2.45.2