rucio-clients 35.2.0__tar.gz → 35.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rucio-clients might be problematic. Click here for more details.
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/MANIFEST.in +1 -1
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/PKG-INFO +1 -1
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/baseclient.py +2 -3
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/vcsversion.py +3 -3
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/setup.cfg +1 -1
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_dumper_consistency.py +7 -7
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/AUTHORS.rst +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/ChangeLog +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/LICENSE +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/README.md +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/bin/rucio +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/bin/rucio-admin +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/etc/rse-accounts.cfg.template +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/etc/rucio.cfg.atlas.client.template +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/etc/rucio.cfg.template +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/__init__.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/alembicrevision.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/__init__.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/accountclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/accountlimitclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/client.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/configclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/credentialclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/didclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/diracclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/downloadclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/exportclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/fileclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/importclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/lifetimeclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/lockclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/metaconventionsclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/pingclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/replicaclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/requestclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/rseclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/ruleclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/scopeclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/subscriptionclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/touchclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/client/uploadclient.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/__init__.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/cache.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/config.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/constants.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/constraints.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/didtype.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/exception.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/extra.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/logging.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/pcache.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/plugins.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/policy.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/schema/__init__.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/schema/atlas.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/schema/belleii.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/schema/domatpc.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/schema/escape.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/schema/generic.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/schema/generic_multi_vo.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/schema/icecube.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/stomp_utils.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/stopwatch.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/test_rucio_server.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/types.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/common/utils.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/__init__.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/__init__.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/bittorrent.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/cache.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/dummy.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/gfal.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/globus.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/gsiftp.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/http_cache.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/mock.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/ngarc.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/posix.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/protocol.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/rclone.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/rfio.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/srm.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/ssh.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/storm.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/webdav.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/protocols/xrootd.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/rse/rsemanager.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio/version.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/lib/rucio_clients.egg-info/SOURCES.txt +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/pylintrc +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/pyproject.toml +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/requirements/requirements.client.txt +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/setup.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/setuputil.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_abacus_account.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_abacus_collection_replica.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_abacus_rse.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_account.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_account_limits.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_archive.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_auditor.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_auditor_hdfs.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_auditor_srmdumps.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_authentication.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_automatix.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_bad_replica.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_bb8.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_belleii.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_bin_rucio.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_boolean.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_clients.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_common_types.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_config.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_conveyor.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_conveyor_submitter.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_counter.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_credential.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_curl.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_daemons.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_dataset_replicas.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_db.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_did.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_did_meta_plugins.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_didtype.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_download.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_dumper.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_dumper_data_model.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_dumper_path_parsing.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_filter_engine.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_gateway_external_representation.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_heartbeat.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_hermes.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_identity.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_impl_upload_download.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_import_export.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_judge_cleaner.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_judge_evaluator.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_judge_injector.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_judge_repairer.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_lifetime.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_message.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_meta_conventions.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_meta_did.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_module_import.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_monitor.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_multi_vo.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_naming_convention.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_oauthmanager.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_oidc.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_permission.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_pfns.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_ping.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_preparer.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_qos.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_quarantined_replica.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_reaper.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_redirect.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_replica.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_replica_recoverer.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_replica_sorting.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_request.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_root_proxy.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_expression_parser.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_lfn2path.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_gfal2.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_gfal2_impl.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_posix.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_rclone.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_rsync.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_srm.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_ssh.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_webdav.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_protocol_xrootd.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rse_selector.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rucio_server.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_rule.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_scope.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_subscription.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_throttler.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_tpc.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_trace.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_transfer.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_transfer_plugins.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_undertaker.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_upload.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tests/test_utils.py +0 -0
- {rucio_clients-35.2.0 → rucio_clients-35.2.1}/tools/merge_rucio_configs.py +0 -0
|
@@ -137,6 +137,7 @@ class BaseClient:
|
|
|
137
137
|
self.logger.debug('No trace_host passed. Using rucio_host instead')
|
|
138
138
|
|
|
139
139
|
self.list_hosts = [self.host]
|
|
140
|
+
self.account = account
|
|
140
141
|
self.ca_cert = ca_cert
|
|
141
142
|
self.auth_token = ""
|
|
142
143
|
self.headers = {}
|
|
@@ -171,9 +172,7 @@ class BaseClient:
|
|
|
171
172
|
self.logger.debug('No ca_cert found in configuration. Falling back to Mozilla default CA bundle (certifi).')
|
|
172
173
|
self.ca_cert = True
|
|
173
174
|
|
|
174
|
-
if account is
|
|
175
|
-
self.account = account
|
|
176
|
-
else:
|
|
175
|
+
if account is None:
|
|
177
176
|
self.logger.debug('No account passed. Trying to get it from the RUCIO_ACCOUNT environment variable or the config file.')
|
|
178
177
|
try:
|
|
179
178
|
self.account = environ['RUCIO_ACCOUNT']
|
|
@@ -4,8 +4,8 @@ This file is automatically generated; Do not edit it. :)
|
|
|
4
4
|
'''
|
|
5
5
|
VERSION_INFO = {
|
|
6
6
|
'final': True,
|
|
7
|
-
'version': '35.2.
|
|
7
|
+
'version': '35.2.1',
|
|
8
8
|
'branch_nick': 'release-35-LTS',
|
|
9
|
-
'revision_id': '
|
|
10
|
-
'revno':
|
|
9
|
+
'revision_id': 'd16287dcea81790562e5c63066feb522bf57ab8d',
|
|
10
|
+
'revno': 13130
|
|
11
11
|
}
|
|
@@ -17,7 +17,7 @@ import os
|
|
|
17
17
|
from datetime import datetime
|
|
18
18
|
from unittest import mock
|
|
19
19
|
|
|
20
|
-
from rucio.common.dumper.consistency import Consistency, _try_to_advance, compare3, gnu_sort,
|
|
20
|
+
from rucio.common.dumper.consistency import Consistency, _try_to_advance, compare3, gnu_sort, min_value, parse_and_filter_file
|
|
21
21
|
from rucio.tests.common import make_temp_file
|
|
22
22
|
|
|
23
23
|
RSEPROTOCOL = {
|
|
@@ -282,17 +282,17 @@ class TestConsistency:
|
|
|
282
282
|
]
|
|
283
283
|
assert value == expected
|
|
284
284
|
|
|
285
|
-
def
|
|
285
|
+
def test_min_value_simple_strings(self, tmp_path):
|
|
286
286
|
''' DUMPER '''
|
|
287
|
-
assert
|
|
287
|
+
assert min_value('a', 'b', 'c') == 'a'
|
|
288
288
|
|
|
289
|
-
def
|
|
289
|
+
def test_min_value_repeated_strings(self, tmp_path):
|
|
290
290
|
''' DUMPER '''
|
|
291
|
-
assert
|
|
291
|
+
assert min_value('b', 'a', 'a') == 'a'
|
|
292
292
|
|
|
293
|
-
def
|
|
293
|
+
def test_min_value_parsing_the_strings_is_not_a_responsability_of_this_function(self, tmp_path):
|
|
294
294
|
''' DUMPER '''
|
|
295
|
-
assert
|
|
295
|
+
assert min_value('a,b', 'cab', 'b,a') == 'a,b'
|
|
296
296
|
|
|
297
297
|
def test_parse_and_filter_file_default_parameters(self, tmp_path):
|
|
298
298
|
''' DUMPER '''
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|