~andreserl/maas/lp1592666

« back to all changes in this revision

Viewing changes to src/maasserver/tests/test_bootresources.py

  • Committer: LaMont Jones
  • Date: 2016-04-11 16:23:26 UTC
  • mfrom: (4900 maas)
  • mto: This revision was merged to the branch mainline in revision 4924.
  • Revision ID: lamont@canonical.com-20160411162326-6ycj8l2j66v2o5es
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
            filetype = factory.pick_enum(BOOT_RESOURCE_FILE_TYPE)
480
480
            # We set the filename to the same value as filetype, as in most
481
481
            # cases this will always be true. The simplestreams content from
482
 
            # maas.ubuntu.com, is formatted this way.
 
482
            # maas.io, is formatted this way.
483
483
            filename = filetype
484
484
            size = randint(1024, 2048)
485
485
            content = factory.make_bytes(size=size)