def assert_application_calculated_changes(case, node_state, node_config, nonmanifest_datasets, expected_changes, additional_node_states=frozenset(), additional_node_config=frozenset()):
 deployer = ApplicationNodeDeployer(hostname=node_state.hostname, node_uuid=node_state.uuid, docker_client=FakeDockerClient())
 return assert_calculated_changes_for_deployer(case, deployer, node_state, node_config, nonmanifest_datasets, additional_node_states, additional_node_config, expected_changes, NodeLocalState(node_state=node_state))

def assert_application_calculated_changes ( case , node_state , node_config , nonmanifest_datasets , expected_changes , additional_node_states = frozenset ( ) , additional_node_config = frozenset ( ) ) : deployer = ApplicationNodeDeployer ( hostname = node_state . hostname , node_uuid = node_state . uuid , docker_client = FakeDockerClient ( ) ) return assert_calculated_changes_for_deployer ( case , deployer , node_state , node_config , nonmanifest_datasets , additional_node_states , additional_node_config , expected_changes , NodeLocalState ( node_state = node_state ) )
assert that applicationnodedeployer calculates certain changes in a certain circumstance .