Lines Matching refs:Shard
231 models.Shard.DoesNotExist, models.Shard.objects.get, pk=shard1.id)
422 shard1 = models.Shard.objects.create(hostname='shard1')
443 shard1 = models.Shard.objects.create(hostname='shard1')
555 shard = models.Shard.objects.create(hostname='test_shard')
566 shard1 = models.Shard.smart_get(shard.id)
643 shard = models.Shard.objects.create(hostname=shard_hostname)
999 shard = models.Shard.objects.create(hostname='shard')
1139 shard = models.Shard.objects.create(hostname=shard_hostname)
1201 shard1 = models.Shard.objects.create(hostname='shard1')
1205 shard2 = models.Shard.objects.create(hostname='shard2')
1255 shard1 = models.Shard.objects.create(hostname='shard1')
1279 shard1 = models.Shard.objects.create(hostname='shard1')
1287 self.assertRaises(models.Shard.DoesNotExist,
1288 models.Shard.smart_get, shard1.hostname)
1296 shard1 = models.Shard.objects.create(hostname='shard1')
1319 shard1 = models.Shard.objects.create(hostname='shard1')
1665 shard = models.Shard.objects.create(hostname='host1')
1713 shard1 = models.Shard.objects.create(hostname='shard1')
1714 shard2 = models.Shard.objects.create(hostname='shard2')
1770 shard = models.Shard.objects.create(hostname=shard_hostname)
1799 shard1 = models.Shard.smart_get(shard1.id)
1821 shard = models.Shard.objects.get(pk=shard_id)
1847 shard = models.Shard.objects.get(pk=shard_id)