24657b2b39
Add some tests for essential methods in swift-ring-builder. Tests for removing or changing device settings are executed with different search values to cover many possible command line arguments. Currently tested methods: - create ring - add device - remove device - set weight - set info - set min_part_hours - set replicas Tests use swift.common.ring.RingBuilder to verify actions. Catching and testing output from print statements is not tested, because this requires redirecting sys.stdout during tests and that might have some sideeffects for testing tools. bin/swift-ring-builder has been moved to swift/cli/ringbuilder.py and slightly modified to work as before (mainly due to no more existing global variables since that part of the code has been moved inside a main() function). Change-Id: Ia63f59a8faca1fad990784f27532ca07a2125454
125 lines
3.8 KiB
INI
125 lines
3.8 KiB
INI
[metadata]
|
|
name = swift
|
|
summary = OpenStack Object Storage
|
|
description-file =
|
|
README.md
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = http://www.openstack.org/
|
|
classifier =
|
|
Development Status :: 5 - Production/Stable
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.6
|
|
Programming Language :: Python :: 2.7
|
|
|
|
[pbr]
|
|
skip_authors = True
|
|
skip_changelog = True
|
|
|
|
[files]
|
|
packages =
|
|
swift
|
|
scripts =
|
|
bin/swift-account-audit
|
|
bin/swift-account-auditor
|
|
bin/swift-account-reaper
|
|
bin/swift-account-replicator
|
|
bin/swift-account-server
|
|
bin/swift-config
|
|
bin/swift-container-auditor
|
|
bin/swift-container-replicator
|
|
bin/swift-container-server
|
|
bin/swift-container-sync
|
|
bin/swift-container-updater
|
|
bin/swift-dispersion-populate
|
|
bin/swift-dispersion-report
|
|
bin/swift-drive-audit
|
|
bin/swift-form-signature
|
|
bin/swift-get-nodes
|
|
bin/swift-init
|
|
bin/swift-object-auditor
|
|
bin/swift-object-expirer
|
|
bin/swift-object-info
|
|
bin/swift-object-replicator
|
|
bin/swift-object-server
|
|
bin/swift-object-updater
|
|
bin/swift-oldies
|
|
bin/swift-orphans
|
|
bin/swift-proxy-server
|
|
bin/swift-recon-cron
|
|
bin/swift-temp-url
|
|
|
|
[entry_points]
|
|
paste.app_factory =
|
|
proxy = swift.proxy.server:app_factory
|
|
object = swift.obj.server:app_factory
|
|
mem_object = swift.obj.mem_server:app_factory
|
|
container = swift.container.server:app_factory
|
|
account = swift.account.server:app_factory
|
|
|
|
paste.filter_factory =
|
|
healthcheck = swift.common.middleware.healthcheck:filter_factory
|
|
crossdomain = swift.common.middleware.crossdomain:filter_factory
|
|
memcache = swift.common.middleware.memcache:filter_factory
|
|
ratelimit = swift.common.middleware.ratelimit:filter_factory
|
|
cname_lookup = swift.common.middleware.cname_lookup:filter_factory
|
|
catch_errors = swift.common.middleware.catch_errors:filter_factory
|
|
domain_remap = swift.common.middleware.domain_remap:filter_factory
|
|
staticweb = swift.common.middleware.staticweb:filter_factory
|
|
tempauth = swift.common.middleware.tempauth:filter_factory
|
|
keystoneauth = swift.common.middleware.keystoneauth:filter_factory
|
|
recon = swift.common.middleware.recon:filter_factory
|
|
tempurl = swift.common.middleware.tempurl:filter_factory
|
|
formpost = swift.common.middleware.formpost:filter_factory
|
|
name_check = swift.common.middleware.name_check:filter_factory
|
|
bulk = swift.common.middleware.bulk:filter_factory
|
|
container_quotas = swift.common.middleware.container_quotas:filter_factory
|
|
account_quotas = swift.common.middleware.account_quotas:filter_factory
|
|
proxy_logging = swift.common.middleware.proxy_logging:filter_factory
|
|
slo = swift.common.middleware.slo:filter_factory
|
|
list_endpoints = swift.common.middleware.list_endpoints:filter_factory
|
|
gatekeeper = swift.common.middleware.gatekeeper:filter_factory
|
|
container_sync = swift.common.middleware.container_sync:filter_factory
|
|
|
|
console_scripts =
|
|
swift-recon = swift.cli.recon:main
|
|
swift-ring-builder = swift.cli.ringbuilder:main
|
|
|
|
[build_sphinx]
|
|
all_files = 1
|
|
build-dir = doc/build
|
|
source-dir = doc/source
|
|
|
|
[egg_info]
|
|
tag_build =
|
|
tag_date = 0
|
|
tag_svn_revision = 0
|
|
|
|
[compile_catalog]
|
|
directory = locale
|
|
domain = swift
|
|
|
|
[update_catalog]
|
|
domain = swift
|
|
output_dir = locale
|
|
input_file = locale/swift.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = locale/swift.pot
|
|
|
|
[nosetests]
|
|
exe = 1
|
|
verbosity = 2
|
|
detailed-errors = 1
|
|
cover-package = swift
|
|
cover-html = true
|
|
cover-erase = true
|