

def test_get_mongo_backup_commands(self):
    wanted_commands = [['mongodump', '--username={adminuser}', '--password={password}', '-db', '{databasename}', '-o', '{temp_dir}']]
    commands = self.dbsettings.get_mongo_backup_commands()
    self.assertEqual(commands, wanted_commands)

dataset/ETHPy150Open django-dbbackup/django-dbbackup/dbbackup/tests/test_dbcommands.py MongoSettingsTest.test_get_mongo_backup_commands/original