'The ``NodeState`` returned from discovery has same UUID as the
deployer.'

def test_uuid(self):

    deployer = self._setup_datasets()
    node_state = self.successResultOf(deployer.discover_state(DeploymentState(nodes={self.EMPTY_NODESTATE}), persistent_state=PersistentState())).node_state
    self.assertEqual(node_state.uuid, deployer.node_uuid)
