~mpontillo/maas/networks-list-view

« back to all changes in this revision

Viewing changes to src/maasserver/api/tests/test_boot_resources.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:
85
85
        self.assertEqual(False, dict_representation['complete'])
86
86
        self.assertEqual(
87
87
            resource_set.progress, dict_representation['progress'])
88
 
        self.assertItemsEqual(
 
88
        self.assertEqual(
89
89
            boot_resource_file_to_dict(rfile),
90
90
            dict_representation['files'][rfile.filename])
91
91
 
109
109
        resource = factory.make_BootResource()
110
110
        resource_set = factory.make_BootResourceSet(resource)
111
111
        dict_representation = boot_resource_to_dict(resource, with_sets=True)
112
 
        self.assertItemsEqual(
 
112
        self.assertEqual(
113
113
            boot_resource_set_to_dict(resource_set),
114
114
            dict_representation['sets'][resource_set.version])
115
115