From dfd01d765304ed8783cef613930e65980d9aee23 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 15 Jun 2020 10:27:03 -0500 Subject: blacklist -> blocklist Signed-off-by: Sage Weil Signed-off-by: Neha Ojha --- src/test/pybind/test_rados.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/pybind/test_rados.py') diff --git a/src/test/pybind/test_rados.py b/src/test/pybind/test_rados.py index 1f2f8ba0af1..46630d8f8a7 100644 --- a/src/test/pybind/test_rados.py +++ b/src/test/pybind/test_rados.py @@ -103,7 +103,7 @@ class TestRadosStateError(object): assert_raises(RadosStateError, rados.osd_command, 0, '', b'') assert_raises(RadosStateError, rados.pg_command, '', '', b'') assert_raises(RadosStateError, rados.wait_for_latest_osdmap) - assert_raises(RadosStateError, rados.blacklist_add, '127.0.0.1/123', 0) + assert_raises(RadosStateError, rados.blocklist_add, '127.0.0.1/123', 0) def test_configuring(self): rados = Rados(conffile='') @@ -236,8 +236,8 @@ class TestRados(object): fsid = self.rados.get_fsid() assert re.match('[0-9a-f\-]{36}', fsid, re.I) - def test_blacklist_add(self): - self.rados.blacklist_add("1.2.3.4/123", 1) + def test_blocklist_add(self): + self.rados.blocklist_add("1.2.3.4/123", 1) @attr('stats') def test_get_cluster_stats(self): -- cgit v1.2.3