[Zope3-checkins] CVS: Zope3/src/zope/fssync/tests -
test_fsmerger.py:1.12 test_fsutil.py:1.4 test_metadata.py:1.7
test_network.py:1.8
Philipp von Weitershausen
philikon at philikon.de
Sun Aug 17 03:09:36 EDT 2003
Update of /cvs-repository/Zope3/src/zope/fssync/tests
In directory cvs.zope.org:/tmp/cvs-serv7189/fssync/tests
Modified Files:
test_fsmerger.py test_fsutil.py test_metadata.py
test_network.py
Log Message:
Removed unused imports.
=== Zope3/src/zope/fssync/tests/test_fsmerger.py 1.11 => 1.12 ===
--- Zope3/src/zope/fssync/tests/test_fsmerger.py:1.11 Mon Aug 11 18:02:16 2003
+++ Zope3/src/zope/fssync/tests/test_fsmerger.py Sun Aug 17 02:09:00 2003
@@ -20,7 +20,7 @@
import sys
import unittest
-from os.path import exists, isdir, isfile, realpath, normcase, split, join
+from os.path import exists, isdir, split, join
from zope.fssync.fsmerger import FSMerger
=== Zope3/src/zope/fssync/tests/test_fsutil.py 1.3 => 1.4 ===
--- Zope3/src/zope/fssync/tests/test_fsutil.py:1.3 Wed May 28 10:40:04 2003
+++ Zope3/src/zope/fssync/tests/test_fsutil.py Sun Aug 17 02:09:00 2003
@@ -19,7 +19,7 @@
import os
import unittest
-from os.path import split, join, exists, isdir, isfile
+from os.path import split, join, exists, isdir
from zope.fssync import fsutil
from zope.fssync.tests.tempfiles import TempFiles
@@ -29,7 +29,7 @@
parts = path.split("/")
mapping = {".": os.curdir, "..": os.pardir}
parts = [mapping.get(x, x) for x in parts]
- return os.path.join(*parts)
+ return join(*parts)
class TestFSUtil(TempFiles):
=== Zope3/src/zope/fssync/tests/test_metadata.py 1.6 => 1.7 ===
--- Zope3/src/zope/fssync/tests/test_metadata.py:1.6 Fri Jul 25 16:18:50 2003
+++ Zope3/src/zope/fssync/tests/test_metadata.py Sun Aug 17 02:09:00 2003
@@ -16,12 +16,9 @@
$Id$
"""
-import os
import unittest
from os.path import dirname, isfile, join
-
-from zope.xmlpickle import loads
from zope.fssync.metadata import Metadata, load_entries
from zope.fssync.tests.tempfiles import TempFiles
=== Zope3/src/zope/fssync/tests/test_network.py 1.7 => 1.8 ===
--- Zope3/src/zope/fssync/tests/test_network.py:1.7 Thu May 29 14:38:46 2003
+++ Zope3/src/zope/fssync/tests/test_network.py Sun Aug 17 02:09:00 2003
@@ -24,7 +24,7 @@
from StringIO import StringIO
-from os.path import isdir, isfile, join
+from os.path import join
from zope.fssync.fssync import Network, Error
from zope.fssync.tests.tempfiles import TempFiles
More information about the Zope3-Checkins
mailing list