1. SingletonMeta -> modified to allow handling multiple classes and moved to metaclasses too. 2. @logwrap : process asserts too Changes reason: @logwrap was changed during test debug (was assert in wrapped function and stacktrace was not enough for reason understand) and moved out of test changest due to not mandatory for this test. Pros: Now assert, raised in wrapped function is recorded in log with details. SingletonMeta: was changed as "nice to have" during work on plugin helpers. Later plugin helpers was moved out of SshManager, and all code changes was moved to this changeset. Pros: Single way for handling the same tasks in different places. Previously SshManager used Metaclass, which could not be reused for more, than one class and Environment used __new__ directly written in class code. Related-Bug: #1518979 Related-Bug: #1519050 Change-Id: I798302879400747909229cc208f97a669f25bbf3
2.0 KiB
2.0 KiB
Helpers
Helpers
Ceph
fuelweb_test.helpers.ceph
Checkers
fuelweb_test.helpers.checkers
Common
fuelweb_test.helpers.common
Conf tempest
fuelweb_test.helpers.conf_tempest
Decorators
fuelweb_test.helpers.decorators
Metaclasses
fuelweb_test.helpers.metaclasses
Eb tables
fuelweb_test.helpers.eb_tables
Fuel Actions
fuelweb_test.helpers.fuel_actions
Granular Deployment Checkers
fuelweb_test.helpers.granular_deployment_checkers
Http
fuelweb_test.helpers.http
Log Server
fuelweb_test.helpers.log_server
Multiple Networks Hacks
fuelweb_test.helpers.multiple_networks_hacks
Nessus REST Client
fuelweb_test.helpers.nessus
Os Actions
fuelweb_test.helpers.os_actions
Ovs helper
fuelweb_test.helpers.ovs
Pacemaker
fuelweb_test.helpers.pacemaker
Patching
fuelweb_test.helpers.patching
Rally
fuelweb_test.helpers.rally
Regenerate Repo
fuelweb_test.helpers.regenerate_repo
Replace Repositories
fuelweb_test.helpers.replace_repos
Security
fuelweb_test.helpers.security
Ssl
fuelweb_test.helpers.ssl
Utils
fuelweb_test.helpers.utils
SSH Manager
fuelweb_test.helpers.ssh_manager