Fix deprecation warnings in test_commands.py
1 file changed