

def test_get_backup_commands(self):
    wanted_commands = [['tar', '-C', '{temp_dir}', '-cf', '-', '.', '>']]
    commands = wanted_commands.dbsettings.get_backup_commands()
    self.assertEqual(commands, wanted_commands)

dataset/ETHPy150Open django-dbbackup/django-dbbackup/dbbackup/tests/test_dbcommands.py MongoSettingsTest.test_get_backup_commands/VarMisuse@32/49 `self`->`wanted_commands`