def METHOD_NAME(self, mock_write, mock_reload):
    self.add_user_permissions(
        "promgen.change_rule", "promgen.change_site", "promgen.change_exporter"
    )
    response = self.client.post(reverse("import"), {"config": TEST_IMPORT})
    self.assertRoute(response, views.Import, 302, "Redirect to imported object")
    response = self.client.post(reverse("import"), {"config": TEST_REPLACE})
    self.assertRoute(response, views.Import, 302, "Redirect to imported object (2)")
    self.assertCount(models.Service, 3, "Import one service (Fixture has two services)")
    self.assertCount(models.Project, 4, "Import two projects (Fixture has 2 projectsa)")
    self.assertCount(models.Exporter, 2, "Import two exporters")
    self.assertCount(
        models.Farm, 4, "Original two farms and one new farm (fixture has one farm)"
    )
    self.assertCount(models.Host, 5, "Original 3 hosts and two new ones")