~mpontillo/maas/networks-list-view

« back to all changes in this revision

Viewing changes to src/maasserver/tests/test_forms_settings.py

Merged nose-select-bucket-plugin into test-in-parallel, resolving a minor conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        maas_name = factory.make_string()
39
39
        Config.objects.set_config('maas_name', maas_name)
40
40
        form = get_config_form('maas_name')
41
 
        # The form contains only one field.
42
 
        self.assertItemsEqual(['maas_name'], form.fields)
43
 
        # The form is populated with the value of the 'maas_name'
44
 
        # config item.
 
41
        # The form is populated with the value of the 'maas_name' config item.
45
42
        self.assertEqual(
46
43
            {'maas_name': maas_name}, form.initial)
47
44