Changeset 746:003c2d428dd8 in hatta-dev for tests/test_repo.py
- Timestamp:
- 01/24/10 15:31:54 (2 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
tests/test_repo.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/test_repo.py
r744 r746 95 95 exists = os.path.exists(filepath) 96 96 assert exists 97 98 def test_subdirectory_delete(self, subdir_repo): 99 title = u'foo/bar' 100 filepath = os.path.join(subdir_repo.path, 'foo/bar') 101 dirpath = os.path.join(subdir_repo.path, 'foo') 102 subdir_repo.save_text(title, self.text, self.author, self.comment, 103 parent=-1) 104 subdir_repo.delete_page(title, self.author, self.comment) 105 exists = os.path.exists(filepath) 106 assert not exists 107 exists = os.path.exists(dirpath) 108 assert not exists 97 109 98 110
Note: See TracChangeset
for help on using the changeset viewer.
