Home
last modified time | relevance | path

Searched refs:get_or_create (Results 1 – 10 of 10) sorted by relevance

/external/autotest/utils/
Dtest_importer.py192 model = models.Profiler.objects.get_or_create(name=name)[0]
213 test_parameter = models.TestParameter.objects.get_or_create(
233 new_test = models.Test.objects.get_or_create(
264 test_parameter = models.TestParameter.objects.get_or_create(
/external/autotest/frontend/afe/
Dfrontend_test_utils.py80 model.objects.get_or_create(**args)
84 attribute_object, _ = attribute_model.objects.get_or_create(**get_args)
Dmanagement.py22 admin_group, created = auth.models.Group.objects.get_or_create(
Dmodel_logic.py1334 attribute_object, _ = attribute_model.objects.get_or_create(**get_args)
1369 def get_or_create(self, **kwargs): member in ModelWithHashManager
1371 return super(ModelWithHashManager, self).get_or_create(**kwargs)
Dmodels.py418 user, _ = cls.objects.get_or_create(login=cls.AUTOTEST_SYSTEM)
/external/python/oauth2client/oauth2client/contrib/django_util/
Dstorage.py72 entity, _ = self.model_class.objects.get_or_create(
/external/autotest/frontend/
Dapache_auth.py37 user, created = models.User.objects.get_or_create(login=username)
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_storage.py109 get_or_create=mock.Mock(return_value=(entity_mock, None)))
/external/protobuf/python/google/protobuf/internal/
Dcontainers.py553 def get_or_create(self, key): member in MessageMap
Dmessage_test.py1398 msg.map_int32_foreign_message.get_or_create(-456)