'Test that and entry is added to SiteConfigurationHistory each time a
SiteConfiguration is updated.'

def test_site_configuration_post_update_receiver(self):

    site_configuration = SiteConfigurationFactory.create(site=self.site)
    site_configuration.values = {'test': 'test'}
    site_configuration.save()
    site_configuration_history = SiteConfigurationHistory.objects.filter(site=site_configuration.site).all()
    self.assertEqual(len(site_configuration_history), 2)
