'Tests that queries that don\'t have non equal (>,<, etc) relation to a primary key or indexed field fail'

def test_primary_key_or_index_must_have_equal_relation_filter(self):

    with self.assertRaises(query.QueryException):
        q = TestModel.objects(test_id__gt=0)
        list([i for i in q])
