Magic Folder: write unit test for Downloader._write_downloaded_file #2489

Closed
opened 2015-08-25 14:59:44 +00:00 by daira · 4 comments
daira commented 2015-08-25 14:59:44 +00:00
Owner

See the Earth dragons section of source:trunk/docs/proposed/magic-folder/remote-to-local-sync.rst

See the Earth dragons section of source:trunk/docs/proposed/magic-folder/remote-to-local-sync.rst
tahoe-lafs added the
code-frontend-magic-folder
normal
task
1.10.1
labels 2015-08-25 14:59:44 +00:00
tahoe-lafs added this to the undecided milestone 2015-08-25 14:59:44 +00:00
vu3rdd was assigned by tahoe-lafs 2015-08-25 14:59:44 +00:00
daira commented 2015-08-25 15:08:04 +00:00
Author
Owner
Branch at <https://github.com/tahoe-lafs/tahoe-lafs/commits/2489.write_downloaded_file.0>.
dawuud commented 2015-08-26 20:11:20 +00:00
Author
Owner

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

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>
dawuud commented 2015-08-28 12:26:01 +00:00
Author
Owner

oh i forgot to mention the mock test passes but the real test fails; allmydata.test.test_magic_folder.RealTest.test_alice_bob

oh i forgot to mention the mock test passes but the real test fails; allmydata.test.test_magic_folder.RealTest.test_alice_bob
WIP test for _write_downloaded_file here: <https://github.com/vu3rdd/tahoe-lafs/tree/2489.write_downloaded_file.0>
tahoe-lafs added the
fixed
label 2015-09-17 06:30:37 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2489
No description provided.