'If a ``NodeState`` exists, ``remove_node`` removes it.'

def test_remove_existing_node(self):

    node = NodeState(hostname=u'1.2.2.4', uuid=uuid4())
    another_node = NodeState(hostname=u'1.2.2.5', uuid=uuid4())
    original = DeploymentState(nodes=[node, another_node])
    self.assertEqual(DeploymentState(nodes=[node]), original.remove_node(another_node.uuid))
