'Generating the query string doesn\'t alter the query\'s state
in irreversible ways. Refs #18248.'

def test_evaluated_proxy_count(self):

    ProxyCategory.objects.create()
    qs = ProxyCategory.objects.all()
    self.assertEqual(qs.count(), 1)
    str(qs.query)
    self.assertEqual(qs.count(), 1)
