def METHOD_NAME(self):
    self.create_indices(5)
    self.create_repository()
    snap_name = '<snapshot-{now-1d/d}>'
    snap_name_parsed = f"snapshot-{(datetime.utcnow()-timedelta(days=1)).strftime('%Y.%m.%d')}"
    self.write_config(self.args['configfile'], testvars.client_config.format(HOST))
    self.write_config(self.args['actionfile'], testvars.snapshot_test.format(self.args['repository'], snap_name, 1, 30))
    self.invoke_runner()
    snapshot = get_snapshot(self.client, self.args['repository'], '*')
    assert 1 == len(snapshot['snapshots'])
    assert snap_name_parsed == snapshot['snapshots'][0]['snapshot']