~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to charmworld/testing/factory.py

[r=sinzui][bug=1208477][author=abentley] Remove doctype attribute.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Helpers to generate test data for use."""
5
 
 
6
5
from bzrlib.bzrdir import BzrDir
7
6
from contextlib import contextmanager
8
7
from calendar import timegm
169
168
                   commit_message='maintainer', provides=None, requires=None,
170
169
                   options=None, files=None, charm_error=False,
171
170
                   date_created=None, downloads=0,
172
 
                   downloads_in_past_30_days=0,
 
171
                   downloads_in_past_30_days=0, is_featured=False,
173
172
                   promulgated=False, categories=None, branch_deleted=False,
174
173
                   proof=None, payload=None, empty_branch=False, hash_=None,
175
174
                   store_revision=1):
260
259
            "stop",
261
260
            "website-relation-joined"
262
261
        ],
 
262
        'is_featured': is_featured,
263
263
        "maintainer": maintainer,
264
264
        "proof": proof,
265
265
        "provides": provides,