'``FlockerConfiguration.applications`` returns an ``Application`` with a
cpu_shares of None if no limit was specified in the configuration.'

def test_default_cpu_shares(self):

    config = {u'applications': {u'mysql-hybridcluster': {u'image': u'clusterhq/mysql'}}, u'version': 1}
    parser = FlockerConfiguration(config)
    applications = parser.applications()
    self.assertIsNone(applications[u'mysql-hybridcluster'].cpu_shares)
