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)
An ``Application`` with a cpu_shares value is discovered from a
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/test/test_container.py/ApplicationNodeDeployerDiscoverNodeConfigurationTests.test_discover_application_with_cpushares