~annegentle/nova/extdoc

« back to all changes in this revision

Viewing changes to nova/tests/test_instance_types_extra_specs.py

  • Committer: Tarmac
  • Author(s): Matthew Hooker
  • Date: 2011-08-10 14:53:53 UTC
  • mfrom: (1355.2.24 pylint-fixes)
  • Revision ID: tarmac-20110810145353-rmc0lkjirgunxe08
These fixes are the result of trolling the pylint violations here

https://jenkins.openstack.org/job/nova-pylint-errors/violations/

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
                            "m1.small")
137
137
        self.assertEquals(instance_type['extra_specs'], {})
138
138
 
139
 
    def test_instance_type_get_with_extra_specs(self):
 
139
    def test_instance_type_get_by_flavor_id_with_extra_specs(self):
140
140
        instance_type = db.api.instance_type_get_by_flavor_id(
141
141
                            context.get_admin_context(),
142
142
                            105)