summaryrefslogtreecommitdiffstats
path: root/src/test/pybind/test_rados.py
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2020-06-15 17:27:03 +0200
committerNeha Ojha <nojha@redhat.com>2020-08-24 21:53:08 +0200
commitdfd01d765304ed8783cef613930e65980d9aee23 (patch)
tree9a471df545c63f5447e2f9373117d9a052275d64 /src/test/pybind/test_rados.py
parentMerge PR #36394 into master (diff)
downloadceph-dfd01d765304ed8783cef613930e65980d9aee23.tar.xz
ceph-dfd01d765304ed8783cef613930e65980d9aee23.zip
blacklist -> blocklist
Signed-off-by: Sage Weil <sage@newdream.net> Signed-off-by: Neha Ojha <nojha@redhat.com>
Diffstat (limited to 'src/test/pybind/test_rados.py')
-rw-r--r--src/test/pybind/test_rados.py6
1 files changed, 3 insertions, 3 deletions
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):