Changeset 4999 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 3 Feb 2010, 15:37:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/datacenter.txt
r4962 r4999 143 143 ... 'mysource.csv', create_pending=False) 144 144 >>> mydatacenter.distProcessedFiles(True, src, finished_src, 145 ... pending_src )145 ... pending_src, mode='create') 146 146 >>> sorted(os.listdir(dc_root)) 147 147 ['finished', 'logs', 'unfinished'] 148 148 149 149 >>> sorted(os.listdir(fin_dir)) 150 ['mysource.c sv', 'mysource.finished.csv']150 ['mysource.create.finished.csv', 'mysource.csv'] 151 151 152 152 >>> sorted(os.listdir(unfin_dir)) … … 168 168 ... 'mysource.csv') 169 169 >>> mydatacenter.distProcessedFiles(False, src, finished_src, 170 ... pending_src )171 >>> sorted(os.listdir(dc_root)) 172 ['finished', 'logs', 'mysource. pending.csv', 'unfinished']173 174 >>> sorted(os.listdir(fin_dir)) 175 ['mysource. finished.csv']170 ... pending_src, mode='create') 171 >>> sorted(os.listdir(dc_root)) 172 ['finished', 'logs', 'mysource.create.pending.csv', 'unfinished'] 173 174 >>> sorted(os.listdir(fin_dir)) 175 ['mysource.create.finished.csv'] 176 176 177 177 >>> sorted(os.listdir(unfin_dir)) … … 186 186 187 187 >>> tmp_dir, src, finished_src, pending_src = create_fake_results( 188 ... 'mysource. pending.csv', create_pending=False)188 ... 'mysource.create.pending.csv', create_pending=False) 189 189 >>> mydatacenter.distProcessedFiles(True, src, finished_src, 190 ... pending_src )190 ... pending_src, mode='create') 191 191 192 192 >>> sorted(os.listdir(dc_root)) … … 194 194 195 195 >>> sorted(os.listdir(fin_dir)) 196 ['mysource.c sv', 'mysource.finished.csv']196 ['mysource.create.finished.csv', 'mysource.csv'] 197 197 198 198 >>> sorted(os.listdir(unfin_dir)) … … 210 210 ... 'mysource.csv') 211 211 >>> mydatacenter.distProcessedFiles(False, src, finished_src, 212 ... pending_src )212 ... pending_src, mode='create') 213 213 214 214 We try to process the pending file, which fails again: 215 215 216 216 >>> tmp_dir, src, finished_src, pending_src = create_fake_results( 217 ... 'mysource. pending.csv')218 >>> mydatacenter.distProcessedFiles(False, src, finished_src, 219 ... pending_src )217 ... 'mysource.create.pending.csv') 218 >>> mydatacenter.distProcessedFiles(False, src, finished_src, 219 ... pending_src, mode='create') 220 220 221 221 We try to process the new pending file: 222 222 223 223 >>> tmp_dir, src, finished_src, pending_src = create_fake_results( 224 ... 'mysource. pending.csv')225 >>> mydatacenter.distProcessedFiles(False, src, finished_src, 226 ... pending_src )227 228 >>> sorted(os.listdir(dc_root)) 229 ['finished', 'logs', 'mysource. pending.csv', 'unfinished']230 231 >>> sorted(os.listdir(fin_dir)) 232 ['mysource. finished.csv']224 ... 'mysource.create.pending.csv') 225 >>> mydatacenter.distProcessedFiles(False, src, finished_src, 226 ... pending_src, mode='create') 227 228 >>> sorted(os.listdir(dc_root)) 229 ['finished', 'logs', 'mysource.create.pending.csv', 'unfinished'] 230 231 >>> sorted(os.listdir(fin_dir)) 232 ['mysource.create.finished.csv'] 233 233 234 234 >>> sorted(os.listdir(unfin_dir)) … … 238 238 239 239 >>> tmp_dir, src, finished_src, pending_src = create_fake_results( 240 ... 'mysource. pending.csv', create_pending=False)240 ... 'mysource.create.pending.csv', create_pending=False) 241 241 >>> mydatacenter.distProcessedFiles(True, src, finished_src, 242 ... pending_src )242 ... pending_src, mode='create') 243 243 244 244 >>> sorted(os.listdir(dc_root)) … … 246 246 247 247 >>> sorted(os.listdir(fin_dir)) 248 ['mysource.c sv', 'mysource.finished.csv']248 ['mysource.create.finished.csv', 'mysource.csv'] 249 249 250 250 >>> sorted(os.listdir(unfin_dir))
Note: See TracChangeset for help on using the changeset viewer.