Romuald Brunet

Results 15 issues of Romuald Brunet

The examples for various context managers seems to be outdated. For example: https://httpretty.readthedocs.io/en/1.1.4/api.html#httpretty.core.httprettized In documentation: ``` httpretty.register_uri(httpretty.GET, 'https://httpbin.org/ip', body=json.dumps({'origin': '42.42.42.42'})) with httpretty.enabled(): response = requests.get('https://httpbin.org/ip') ``` Actual code needs the...

When the multiprocess environemnt is not properly set-up (missing environment variable) and mark_process_dead is called, the method raises an error on path.join() because the path is None which may be...

The standard input may not alway be available. In that case trying to read from it will raise an IOError. Ignore this error if that happens Issue #299

Small issue with dict-like mappings In the Mapping [_validate](https://github.com/Pylons/colander/blob/96d69de5d2bc7f0a32f5662ca2773ce52aa9a53e/colander/__init__.py#L642) method Colander is checking if there is an "items" attribute However python (2) checks if there is a **keys** attribute instead...

In the httpx module, `data=x` has been deprecated in favor of `content=x` in version 0.18.0 (April 2021) As a side effect, this fixes the test suite since pytest-httpx removed the...

Connecting with _'database'_ as a connection setting (instead of _'db'_), will raise an error down the streaming line ``` python settings = { 'host': 'localhost', 'port': 3306, 'user': 'root', 'passwd':...

This commit aims at adding a gauge measuring the contents of the `performance_schema.status_by_host` table Gauge name is `mysql_perf_schema_status_by_host`, with labels `host` and `variable_name`

URL: https://dashboard.covid19.data.gouv.fr/suivi-des-tests?location=FRA Lorsque la page de suivit des tests est affichée, le site affiche un bandeau _Les données du jour sélectionné ne sont pas encore disponibles_ qui décale le contenu...

Using an invalid value as the limit parameter will raise an error with an invalid message: ``` % curl http://baobab.local/api/events'?limit=20truc' Invalid limit '%s' provided. Please provide a positive integer. ```...

It seems most of the errors are not returned as JSON but at text/html ``` % curl -D/dev/stderr http://baobab.local/api/events'?some-filter' HTTP/1.1 500 INTERNAL SERVER ERROR Content-Type: text/html; charset=utf-8 Date: Tue, 04...