diff options
Diffstat (limited to 'src/test/pybind/test_ceph_argparse.py')
-rwxr-xr-x | src/test/pybind/test_ceph_argparse.py | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/test/pybind/test_ceph_argparse.py b/src/test/pybind/test_ceph_argparse.py index 0608655b587..e9694064bd2 100755 --- a/src/test/pybind/test_ceph_argparse.py +++ b/src/test/pybind/test_ceph_argparse.py @@ -183,21 +183,6 @@ class TestPG(TestArgparse): def test_force_create_pg(self): self.one_pgid('force_create_pg') - def set_ratio(self, command): - self.assert_valid_command(['pg', - command, - '0.0']) - assert_equal({}, validate_command(sigdict, ['pg', command])) - assert_equal({}, validate_command(sigdict, ['pg', - command, - '2.0'])) - - def test_set_full_ratio(self): - self.set_ratio('set_full_ratio') - - def test_set_nearfull_ratio(self): - self.set_ratio('set_nearfull_ratio') - class TestAuth(TestArgparse): @@ -1153,6 +1138,21 @@ class TestOSD(TestArgparse): 'poolname', 'toomany'])) + def set_ratio(self, command): + self.assert_valid_command(['osd', + command, + '0.0']) + assert_equal({}, validate_command(sigdict, ['osd', command])) + assert_equal({}, validate_command(sigdict, ['osd', + command, + '2.0'])) + + def test_set_full_ratio(self): + self.set_ratio('set-full-ratio') + + def test_set_nearfull_ratio(self): + self.set_ratio('set-nearfull-ratio') + class TestConfigKey(TestArgparse): |