What I want to test is that when I make changes, it keeps a record of those changes. 

Naming FTL, but the above is the goal.
On Aug 19, 2013, at 11:26 AM, Peter Bengtsson <notifications@github.com> wrote:

> In dragnet/dll/tests.py:
> 
> > @@ -38,3 +38,24 @@ def test_unauthenticated_user_redirected_from_edit(self):
> >          # when the user is unauthenticated, they are redirected from edit to
> >          # a read-only view.
> >          self.assertRedirects(response, reverse('dll.view', args=[myfile.pk]))
> > +
> > +    def test_updating_file_logs_updates(self):
> > +        sys_user, __ = User.objects.get_or_create(
> > +            username='system',
> > +            first_name='System',
> > +        )
> > +
> > +        myfile = File.objects.create(
> > +            created_by=sys_user,
> > +            modified_by=sys_user,
> > +            file_name='abc.dll'
> > +        )
> > +
> > +        myfile.debug = '123'
> What does this have to do with "updating_file_logs_updates"?
> When you do the File.objects.create(...) it will fire a pre-save.
> 
> —
> Reply to this email directly or view it on GitHub.
>