'An ``Application`` with a cpu_shares value is discovered from a
``Unit`` with a cpu_shares value.'

def test_discover_application_with_cpushares(self):

    unit1 = UNIT_FOR_APP.set('cpu_shares', 512)
    units = {unit1.name: unit1}
    applications = [APP.set('cpu_shares', 512)]
    self._verify_discover_state_applications(units, applications)
