'Tests the backup command with the 2.45 microversion which
handles a different response and prints out the backup snapshot
image details.'

def test_backup_2_45(self):

    (out, err) = self.run_command('backup    sample-server    back1    daily    1', api_version='2.45')
    self.assertIn('back1', out)
    self.assertIn('SAVING', out)
    self.assert_called_anytime('POST', '/servers/1234/action', {'createBackup': {'name': 'back1', 'backup_type': 'daily', 'rotation': '1'}})
