Home
last modified time | relevance | path

Searched refs:realpath_mock (Results 1 – 3 of 3) sorted by relevance

/dports/devel/py-os-brick/os-brick-5.1.0/os_brick/tests/initiator/connectors/
H A Dtest_fibre_channel.py237 realpath_mock, argument
298 realpath_mock, argument
366 realpath_mock, argument
376 realpath_mock,
408 realpath_mock,
429 realpath_mock, argument
439 realpath_mock,
462 realpath_mock, argument
530 realpath_mock, argument
542 realpath_mock,
[all …]
H A Dtest_iscsi.py1676 def test__get_device_link(self, realpath_mock): argument
1680 realpath_mock.assert_called_once_with(symlink)
1683 def test__get_device_link_multipath(self, realpath_mock): argument
1687 realpath_mock.assert_called_once_with(symlink)
1692 def test__get_device_link_check_links(self, listdir_mock, realpath_mock): argument
1696 realpath_mock.assert_has_calls([
1704 def test__get_device_link_not_found(self, listdir_mock, realpath_mock, argument
1711 realpath_mock.assert_has_calls(
1715 self.assertEqual(9, realpath_mock.call_count)
/dports/devel/py-os-brick/os-brick-5.1.0/os_brick/tests/initiator/
H A Dtest_linuxscsi.py51 def test_get_name_from_path(self, realpath_mock): argument
53 realpath_mock.return_value = device_name
62 realpath_mock.return_value = "bogus"
1027 realpath_mock, listdir_mock): argument
1052 realpath_mock, listdir_mock): argument
1072 islink_mock, realpath_mock): argument
1128 realpath_mock.assert_has_calls([mock.call(g) for g in paths])
1134 def test_remove_scsi_symlinks_no_links(self, realpath_mock, glob_mock, argument
1140 realpath_mock.assert_has_calls([mock.call(g) for g in paths])
1146 def test_remove_scsi_symlinks_race_condition(self, realpath_mock, argument
[all …]