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

Jeremy Hylton jeremy@zope.com
Wed, 30 Jan 2002 15:55:40 -0500


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

Modified Files:
	testzeopack.py 
Log Message:
Support -d option to specify days


=== StandaloneZODB/Tools/tests/testzeopack.py 1.1 => 1.2 ===
         assert os.path.exists(self.path + ".old")
 
+    def testPackDays(self):
+        self.set_inet_addr()
+        self.start()
+        os.system("zeopack.py -h %s -p %s -d 1" % (self.host, self.port))
+        assert os.path.exists(self.path + ".old")
+
     def testAF_UNIXPack(self):
         self.addr = tempfile.mktemp(suffix=".zeo-socket")
         self.start()