Enable T108 check for network api tests
Since the commit I3a8660838c1af2baefe21bbc57b006c9889ac35a , API tests of neutron advanced services have been migrated from Tempest. So we can enable T108 check for remaining network api tests to avoid -1 against small thing on human reviewing. Change-Id: Ide15543c84d9b171d62db28274dbaecb4e880a6e
This commit is contained in:
parent
7d007278fc
commit
1eb3fb6a7d
|
@ -119,11 +119,6 @@ def no_hyphen_at_end_of_rand_name(logical_line, filename):
|
|||
|
||||
T108
|
||||
"""
|
||||
if './tempest/api/network/' in filename:
|
||||
# Network API tests are migrating from Tempest to Neutron repo now.
|
||||
# So here should avoid network API tests checks.
|
||||
return
|
||||
|
||||
msg = "T108: hyphen should not be specified at the end of rand_name()"
|
||||
if RAND_NAME_HYPHEN_RE.match(logical_line):
|
||||
return 0, msg
|
||||
|
|
Loading…
Reference in New Issue