def create_backend(self, data={}):
        defaults = {
            'name': self.random_string(12),
        }
        defaults.update(data)
        return Backend.objects.create(**defaults)
Return a script that'll work in a relocatable environment.
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/tests/harness/base.py/CreateDataMixin.create_backend--crossover with--dataset/ETHPy150Open femmerling/backyard/virtualenv.py/relative_script