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.
2 parents ed1c56c + 724e9a8 commit 5c562a7Copy full SHA for 5c562a7
rotate_backups/tests.py
@@ -120,6 +120,9 @@ def test_argument_validation(self):
120
# Test that an invalid ionice scheduling class causes an error to be reported.
121
returncode, output = run_cli(main, '--ionice=unsupported-class')
122
assert returncode != 0
123
+ # Test that a numbered ionice scheduling class does not causes an error.
124
+ returncode, output = run_cli(main, '--ionice=3')
125
+ assert returncode == 0
126
# Test that an invalid rotation scheme causes an error to be reported.
127
returncode, output = run_cli(main, '--hourly=not-a-number')
128
0 commit comments