etianen/django-reversion — pull request #126 by duplico (2012-02-03 22:11:45+00:00)
Title: Deal with registration of auth.User in test suite

This references #125, which in retrospect I probably should have just created ***as*** a pull request. Oh well.

This creates an offset attribute for the base test class, which is incremented if auth.User is registered with reversion. Then that offset is added to all of the Version.objects.count() assertions that the creation of a User version would affect.