#2458 closed defect (fixed)

magic-folder: update/fix old unit tests

Reported by: dawuud Owned by: daira
Priority: normal Milestone: undecided
Component: code-frontend-magic-folder Version: 1.10.0
Keywords: otf-magic-folder-objective4 error tests Cc:
Launchpad Bug:

Description (last modified by daira)

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.

Change History (4)

comment:1 Changed at 2015-07-07T19:07:07Z by daira

  • Component changed from unknown to code-frontend-magic-folder
  • Keywords otf-magic-folder-objective4 error tests added

comment:2 Changed at 2015-07-07T19:07:42Z by daira

  • Description modified (diff)

comment:4 Changed at 2015-07-14T11:27:23Z by dawuud

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.