Issues/525 fix management command inconsistency
As mentioned in the issue I have changed the delete_old_radiusbatch_users argument to take in days instead of months and have changed the tasks and tests accordingly.
coverage: 98.678%. remained the same when pulling 5283833a58e20da58bc04919e5ca5b6b99d0274c on kaushikaryan04:issues/525-fix-management-command-inconsistency into 3303ae169fa214db6ffc3ca9fc6626fd6892dbc8 on openwisp:master.
I think this should be good. All old features are working as they were before and --older-than-days is added as well. Documentation also updated.
coverage: 98.647% (+0.002%) from 98.645% when pulling 24430042a9b4f7dd3db10aef864ba934bf63d4c9 on kaushikaryan04:issues/525-fix-management-command-inconsistency into dc8580f94bba8da857551d34d523564331f9633f on openwisp:master.
Follw up:
https://github.com/openwisp/ansible-openwisp2/issues/500 https://github.com/openwisp/docker-openwisp/issues/392