@given(
        local_state=builds(
            BlockDeviceDeployerLocalState,
            node_uuid=uuids(),
            hostname=text(),
            datasets=lists(
                DISCOVERED_DATASET_STRATEGY,
            ).map(dataset_map_from_iterable),
        )
    )
    def test_round_trip(self, local_state):
        node_state, nonmanifest_datasets = local_state.shared_state_changes()
        fake_local_state = local_state_from_shared_state(
            node_state=node_state,
            nonmanifest_datasets=nonmanifest_datasets.datasets,
        )
        self.assertEqual(local_state.shared_state_changes(),
                         fake_local_state.shared_state_changes())
Return our argparse type function for a config variable (default: str)
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/test/test_blockdevice.py/LocalStateFromSharedStateTests.test_round_trip--crossover with--dataset/ETHPy150Open letsencrypt/letsencrypt/certbot/cli.py/argparse_type