Bert Blommers

Results 388 comments of Bert Blommers

Moto already has these methods: ``` create_work_group list_work_groups ``` What other methods would people like to see? (Just trying to get a feel for what's most used, in case I...

Hi @dreamorosi, are you using the decorators? Most people fiddle with the state directly in their tests, if they have a specific use case. See this comment from spulec: https://github.com/spulec/moto/issues/380#issuecomment-123932483

Hi @saraducks, I'm not aware of anyone working on this at the moment, so a PR would be very welcome! This section in the documentation has some guidance on how...

Not that I'm aware of, @smanjil!

> Should I implement it with the `requests` lib and really invoke that API endpoint, so the person who will use it can intercept the call with `responses`? Hey @gruebel,...

I was thinking an environment variable (in settings.py) - that's the best way to ensure it also works in server mode.

https://github.com/spulec/moto/blob/ab045f5bebff4de84ac33053ef764efa32405829/moto/autoscaling/models.py#L888 Going to mark this as an enhancement instead, as we just need to add support for that parameter.

I like the direction this could take moto, even if it could be a bit confusing for new users. I'd argue that we do need to use labels a bit...

The `EnvironHeaders`-class comes from werkzeug: https://github.com/pallets/werkzeug/blob/master/src/werkzeug/datastructures.py#L1348 This issue has been raised before: https://github.com/pallets/werkzeug/issues/940 TLDR: This is how WSGI parses headers, by using dashes instead of underscores. I don't think Moto...

Hi @JorisLimousin, will mark it as an enhancement to add validation here. If this is something you'd like to add yourself, PR's are always welcome!