

def create_scribble(self, **kwargs):
    'Factory method for creating Scribbles.'
    defaults = {
        'name': self.get_random_string(),
        'slug': self.get_random_string(),
        'url': '/foo/',
    }
    kwargs.update(kwargs)
    return Scribble.objects.create(**defaults)

dataset/ETHPy150Open caktus/django-scribbler/scribbler/tests/base.py ScribblerDataTestCase.create_scribble/VarMisuse@44/72 `defaults`->`kwargs`