~mpontillo/maas/networks-list-view

« back to all changes in this revision

Viewing changes to src/maasserver/tests/test_node_constraint_filter_forms.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:
188
188
    def test_rename_field_renames_field(self):
189
189
        form = TestRenamableForm()
190
190
        form.rename_field('field1', 'new_field')
191
 
        self.assertItemsEqual(form.fields, ['new_field', 'field2'])
 
191
        self.assertItemsEqual(form.fields.keys(), ['new_field', 'field2'])
192
192
 
193
193
    def test_rename_field_updates_mapping(self):
194
194
        form = TestRenamableForm()