[Zope-Checkins] CVS: StandaloneZODB/Tools/tests - testzeopack.py:1.3

Jeremy Hylton jeremy@zope.com
Wed, 30 Jan 2002 16:00:38 -0500


Update of /cvs-repository/StandaloneZODB/Tools/tests
In directory cvs.zope.org:/tmp/cvs-serv31266/tests

Modified Files:
	testzeopack.py 
Log Message:
Actually honor the -d argument and make sure test works


=== StandaloneZODB/Tools/tests/testzeopack.py 1.2 => 1.3 ===
         self.start()
         os.system("zeopack.py -h %s -p %s -d 1" % (self.host, self.port))
-        assert os.path.exists(self.path + ".old")
+        # Since we specified one day, nothing should get packed
+        assert not os.path.exists(self.path + ".old")
 
     def testAF_UNIXPack(self):
         self.addr = tempfile.mktemp(suffix=".zeo-socket")