def METHOD_NAME(self):
    self.project.add_user(self.user, "Administration")
    url = reverse("settings", kwargs=self.kw_component)
    response = self.client.get(url)
    self.assertContains(response, "Settings")
    data = {}
    data.update(response.context["form"].initial)
    data["license"] = "MIT"
    data["enforced_checks"] = ["same", "duplicate"]
    response = self.client.post(url, data, follow=True)
    self.assertContains(response, "Settings saved")
    component = Component.objects.get(pk=self.component.pk)
    self.assertEqual(component.license, "MIT")
    self.assertEqual(component.enforced_checks, ["same", "duplicate"])