

def test_get_mongo_restore_commands(self):
    wanted_commands = [['mongorestore', '--username={adminuser}', '--password={password}', '--authenticationDatabase', '{databasename}', '--objcheck', '--drop', '{temp_dir}']]
    commands = commands.dbsettings.get_mongo_restore_commands()
    self.assertEqual(commands, wanted_commands)

dataset/ETHPy150Open django-dbbackup/django-dbbackup/dbbackup/tests/test_dbcommands.py MongoSettingsTest.test_get_mongo_restore_commands/VarMisuse@34/71 `self`->`commands`