def METHOD_NAME(self):
    """test view"""
    # login testuser
    self.client.login(
        username='testuser_main_config', password='4jl475KM3wof8w5mQ7SN'
    )
    # get object
    main_config_model = MainConfigModel.objects.get(main_config_name='MainConfig')
    # set opposite value
    main_config_model.system_name_editable = False
    # save config
    main_config_model.save()
    # compare (before post)
    self.assertFalse(main_config_model.system_name_editable)
    # create post data
    data_dict = {
        'system_name_editable': 'on',
        'statushistory_entry_numbers': 8,
        'cron_export_path': '/tmp',
        'cron_username': 'cron',
        'capitalization': 'capitalization_keep',
        'main_overview': 'main_overview_system',
    }
    # get response
    self.client.post('/config/main/', data_dict)
    # refresh object
    main_config_model.refresh_from_db()
    # compare
    self.assertTrue(main_config_model.system_name_editable)