Changeset 817:f1bd27bc249a for _test_ftp_sync.py
- Timestamp:
- 2009-10-30 19:19:29 (10 months ago)
- Branch:
- default
- convert_revision:
- svn:778c30c8-61e0-0310-89d4-fe2f97a467b2/trunk@887
- Files:
-
- 1 modified
-
_test_ftp_sync.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
_test_ftp_sync.py
r779 r817 37 37 import unittest 38 38 39 39 40 # assume the test subdirectories are or will be in the current directory 40 41 TEST_ROOT = os.getcwd() … … 60 61 syncer.sync(source_dir, target_dir) 61 62 63 def test_source_with_and_target_without_slash(self): 64 source = ftp_sync.LocalHost() 65 target = ftp_sync.LocalHost() 66 syncer = ftp_sync.Syncer(source, target) 67 source_dir = os.path.join(TEST_ROOT, "test_source/") 68 target_dir = os.path.join(TEST_ROOT, "test_target") 69 syncer.sync(source_dir, target_dir) 70 62 71 63 72 if __name__ == '__main__':
