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")
    self.assertCount(models.Service, 3, "Import one service (Fixture has two services)")
    self.assertCount(models.Project, 4, "Import two projects")
    self.assertCount(models.Exporter, 2, "Import two exporters")
    self.assertCount(models.Host, 3, "Import three hosts")