[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2458: magic-folder: update/fix old unit tests
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Jul 7 19:07:44 UTC 2015
#2458: magic-folder: update/fix old unit tests
-------------------------------------+-------------------------------------
Reporter: dawuud | Owner: daira
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code-frontend- | Version: 1.10.0
magic-folder | Keywords: otf-magic-folder-
Resolution: | objective4 error tests
Launchpad Bug: |
-------------------------------------+-------------------------------------
Description changed by daira:
Old description:
> We need to change the old unit with code sections that instantiate a
> magic-folder object by only passing the upload dircap:
>
> https://github.com/david415/tahoe-
> lafs/blob/e2ce372cbf02dc2ad56a87b505e157d576b7101b/src/allmydata/test/test_magic_folder.py#L250-L256
>
> This type of behavior should instead produce an error if the collective
> dircap is omitted.
New description:
We need to change the old unit tests with code that instantiates a magic-
folder object by only passing the upload dircap:
https://github.com/david415/tahoe-
lafs/blob/e2ce372cbf02dc2ad56a87b505e157d576b7101b/src/allmydata/test/test_magic_folder.py#L250-L256
This type of behavior should instead produce an error if the collective
dircap is omitted.
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2458#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list