def test_initial(self):
        self.form = EditThemeForm(None, request=self.request,
                                  instance=self.instance)

        # Compare form initial data with post data.
        eq_data = self.get_dict()
        for k in [k for k in self.form.initial.keys()
                  if k not in ['name', 'description']]:
            assert self.form.initial[k] == eq_data[k]
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_forms.py/TestEditThemeForm.test_initial/original