tacker/tacker
Manpreet Kaur 2f3dc0a991 Move tacker to new hacking 4.0.0
Hacking 4.0.0 has introduce new optimal assert checks.
Please refer [1] for more details.

Additionally Hacking has enabled some new checks by default,
and the next update to the new release will introduce failures
in tacker pep8 jobs.
The main impact is from I122d250cab90964c346e9d53046a97c25054bc00.

This patch addresses following -

* Adopt new optimal assert checks.
 * [H211] Change assertTrue(isinstance(A, B)) to assertIsInstance(A, B).
 * [H212] Change assertEqual(type(A), B) to assertIsInstance(A, B).
 * [H214] Change assertTrue(A not in B, message) to the more specific
   assertNotIn(A, B, message)

* On bumping up the hacking version, below mention pep8 jobs failed.
  This patch address these issues now, when the new hacking release
  starts being used it will not cause a disruption.

    ./tacker/tests/unit/vnflcm/test_controller.py:343:33:
     F522 '...'.format(...) has unused named argument(s): expected_type
            expected_message = ("Invalid input for field/attribute "
                                ^
    ./tacker/tests/unit/common/test_csar_utils.py:194:16:
    F504 '...' % ... has unused named argument(s): csar
        msg = (('The filename "%(manifest)s" is an invalid name.'
               ^
    ./tacker/vnfm/nfvo_client.py:191:21:
     F523 '...'.format(...) has unused arguments at position(s): 0
                 "not supported.".format(pipeline_type))
                 ^
[1] https://docs.openstack.org/releasenotes/hacking/unreleased.html#relnotes-4-0-0

Change-Id: Iee059c00df1be212ae69fbc77cb783748da206b1
2020-12-04 09:44:47 +00:00
..
agent from i18n import _ when quoting them 2019-08-09 09:59:48 +08:00
api Fix for package error during vnflcm creation 2020-11-05 10:54:46 +09:00
cmd Cleanup Python 2.7 support 2020-03-29 20:23:26 +00:00
common Convert software image properties to byte 2020-11-06 04:32:06 +00:00
conductor Fix missing vnfc resource updating on vnf respawn via SOL003-style Heal API call 2020-11-14 01:18:16 +00:00
conf Support flow of Getting VNF package 2020-10-05 07:19:32 +00:00
db Fix the alembic migration for vnf_software_images column types 2020-11-10 23:31:00 +09:00
extensions Drop most of six importings 2020-10-19 12:10:05 +00:00
glance_store Introduce py39 for unittests 2020-11-08 06:11:48 +00:00
hacking Update hacking for Python3 2020-04-24 13:48:53 +02:00
keymgr Drop most of six importings 2020-10-19 12:10:05 +00:00
locale Imported Translations from Zanata 2020-10-24 08:58:53 +00:00
mistral Replaces uuid.uuid4 with uuidutils.generate_uuid() 2017-07-18 14:00:58 +00:00
nfvo Drop most of six importings 2020-10-19 12:10:05 +00:00
objects Fix for package error during vnflcm creation 2020-11-05 10:54:46 +09:00
plugins Fix and avoid an erroneous heat API call 2020-11-05 12:35:55 +00:00
policies Support Rollback of LCM Resource 2020-10-07 05:13:33 +00:00
releasenotes/notes Remove infra and mgmt parsing logic from API 2017-01-06 08:39:56 +00:00
services Drop most of six importings 2020-10-19 12:10:05 +00:00
tests Move tacker to new hacking 4.0.0 2020-12-04 09:44:47 +00:00
tosca Minor fixes and clean-ups 2020-10-29 12:47:34 +09:00
vnflcm Fix missing vnfc resource updating on vnf respawn via SOL003-style Heal API call 2020-11-14 01:18:16 +00:00
vnfm Move tacker to new hacking 4.0.0 2020-12-04 09:44:47 +00:00
__init__.py Drop most of six importings 2020-10-19 12:10:05 +00:00
_i18n.py Remove i18n.enable_lazy() call from tacker.cmd 2018-11-14 14:56:52 +05:30
alarm_receiver.py Fix to encrypt password print in debug logs 2020-11-17 02:17:02 +00:00
auth.py Support of Server/Basic certification in OAuth2.0 2020-10-05 07:18:14 +00:00
context.py Remove deprecation warning messages 2019-09-20 12:27:06 +05:30
manager.py Sychronize vnf action tasks 2020-04-22 07:43:50 +00:00
policy.py Drop most of six importings 2020-10-19 12:10:05 +00:00
service.py Sychronize vnf action tasks 2020-04-22 07:43:50 +00:00
version.py Cleanup vim settings 2016-03-28 13:03:56 +02:00
wsgi.py Drop most of six importings 2020-10-19 12:10:05 +00:00