Support hacking 6.1.0

Change-Id: I7629d0b21bf53c2d2c5326d9f6e14d625798c940
This commit is contained in:
Eric Harney 2024-05-09 09:49:50 -04:00
parent 9d20ea4073
commit 2aa9359b86
2 changed files with 5 additions and 5 deletions
os_brick/tests/initiator
test-requirements.txt

@ -90,8 +90,8 @@ class LinuxFCTestCase(base.TestCase):
# fc_transport path returns empty output
('', ''),
# This is returned from the fc_remote_ports path
(f'/sys/class/fc_remote_ports/rport-6:0-{i+1}'
'/port_name\n', ''),
('/sys/class/fc_remote_ports/'
f'rport-6:0-{i+1}/port_name\n', ''), # noqa: E226
]
expected_cmds += [
mock.call(f'grep -Gil "{wwpns[i]}" '
@ -100,8 +100,8 @@ class LinuxFCTestCase(base.TestCase):
]
else:
execute_results += [
(f'/sys/class/fc_transport/target6:0:{i+1}/port_name\n',
'')
('/sys/class/fc_transport/'
f'target6:0:{i+1}/port_name\n', '') # noqa: E226
]
return execute_results, expected_cmds

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=6.0.0,<6.1.0 # Apache-2.0
hacking>=6.1.0,<6.2.0 # Apache-2.0
flake8-import-order # LGPLv3
flake8-logging-format>=0.6.0 # Apache-2.0
coverage>=5.5 # Apache-2.0