We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611c72b commit 724e9a8Copy full SHA for 724e9a8
rotate_backups/tests.py
@@ -118,6 +118,9 @@ def test_argument_validation(self):
118
# Test that an invalid ionice scheduling class causes an error to be reported.
119
returncode, output = run_cli(main, '--ionice=unsupported-class')
120
assert returncode != 0
121
+ # Test that a numbered ionice scheduling class does not causes an error.
122
+ returncode, output = run_cli(main, '--ionice=3')
123
+ assert returncode == 0
124
# Test that an invalid rotation scheme causes an error to be reported.
125
returncode, output = run_cli(main, '--hourly=not-a-number')
126
0 commit comments