Opened at 2015-08-25T14:59:44Z
Closed at 2015-09-17T06:30:37Z
#2489 closed task (fixed)
Magic Folder: write unit test for Downloader._write_downloaded_file
Reported by: | daira | Owned by: | vu3rdd |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | code-frontend-magic-folder | Version: | 1.10.1 |
Keywords: | otf-magic-folder-objective4 earth-dragon | Cc: | |
Launchpad Bug: |
Description (last modified by daira)
See the Earth dragons section of trunk/docs/proposed/magic-folder/remote-to-local-sync.rst
Change History (6)
comment:1 Changed at 2015-08-25T15:00:01Z by daira
- Description modified (diff)
comment:2 Changed at 2015-08-25T15:08:04Z by daira
comment:3 Changed at 2015-08-26T20:11:20Z by dawuud
i found that replace_file function throws an exception if the replaced_path doesn't exist. that and other changes here in my dev branch with all the unit tests passing again:
https://github.com/david415/tahoe-lafs/tree/2489.write_downloaded_file.0
comment:4 Changed at 2015-08-28T12:26:01Z by dawuud
oh i forgot to mention the mock test passes but the real test fails; allmydata.test.test_magic_folder.RealTest?.test_alice_bob
comment:5 Changed at 2015-08-31T07:34:09Z by vu3rdd
WIP test for _write_downloaded_file here: https://github.com/vu3rdd/tahoe-lafs/tree/2489.write_downloaded_file.0
comment:6 Changed at 2015-09-17T06:30:37Z by dawuud
- Resolution set to fixed
- Status changed from new to closed
Branch at https://github.com/tahoe-lafs/tahoe-lafs/commits/2489.write_downloaded_file.0.