human
Solve the following python programming problem given the following code:
@ flaky ('FLOC-3330') 
@ if_docker_configured 
def test_cpu_shares(self) : 
    '
        The CPU shares number specified in an ``Application`` is passed to the
        container.
        ' 
    EXPECTED_CPU_SHARES = 512 
    image = DockerImage.from_string ('openshift/busybox-http-app') 
    application_name = random_name (self) 
    docker_client = DockerClient () 
    self.addCleanup (docker_client.remove, application_name) 
    deployer = ApplicationNodeDeployer ('localhost', docker_client, make_memory_network (), node_uuid = uuid4 ()) 
    desired_state = Deployment (nodes = frozenset ([Node (uuid = deployer.node_uuid, applications = frozenset ([Application (name = application_name, image = image, cpu_shares = EXPECTED_CPU_SHARES)]))])) 
    d = change_node_state (deployer, desired_state) 
    d.addCallback ((lambda _ : wait_for_unit_state (reactor, docker_client, application_name, ['active']))) 
    def inspect_application(_) : 
        deferred_list = docker_client.list () 
        def app_cpu_shares(unit) : 
            self.assertEqual (unit.cpu_shares, EXPECTED_CPU_SHARES) 
deferred_list.addCallback (find_unit, application_name) 
        deferred_list.addCallback (app_cpu_shares) 
        return deferred_list 
d.addCallback (d) 
    return d 

    
    

    Fix the buggy line: d.addCallback (d)
assistant
#Here is Python program to fix the buggy line: d.

d.addCallback (def inspect_application()