

def test_get_backup_commands(self):
    wanted_commands = [['mysqldump', '--user={adminuser}', '--password={password}', '{databasename}', '>']]
    commands = self.dbsettings.get_backup_commands()
    self.assertEqual(commands, wanted_commands)

dataset/ETHPy150Open django-dbbackup/django-dbbackup/dbbackup/tests/test_dbcommands.py MySQLSettingsTest.test_get_backup_commands/original