On 09/19/2012 08:58 PM, Michael Hudson-Doyle wrote:
> models.Test.objects.filter(
> test_runs__attributes__name='target.device_type',
> test_runs__attributes__value='panda').distinct()
>
> returns all the tests that have evey been run on panda and seems to be
> reasonably efficient (0.1s or so). Is that what you meant?
On 09/19/2012 08:58 PM, Michael Hudson-Doyle wrote: Test.objects. filter( _attributes_ _name=' target. device_ type', _attributes_ _value= 'panda' ).distinct( )
> models.
> test_runs_
> test_runs_
>
> returns all the tests that have evey been run on panda and seems to be
> reasonably efficient (0.1s or so). Is that what you meant?
Yeah, something like that helps.
Too bad we can filter android/ubuntu.