def main(self, *args): self.monkeypatch.setattr( sys, 'argv', ['wal-e', '--aws-instance-profile'] + list(args)) return cmd.main()
def main(self, *args): self.monkeypatch.setattr(sys, 'argv', ['wal-e'] + list(args)) return cmd.main()
def __call__(self, *argv): self.monkeypatch.setattr(sys, 'argv', ['wal-e'] + list(argv)) cmd.main()