Skip to content

fix(celery): make new FlaskCelery class work with import tests (#3237)

Codecov / codecov/patch succeeded Oct 23, 2024 in 0s

88.21% of diff hit (target 81.95%)

View this Pull Request on Codecov

88.21% of diff hit (target 81.95%)

Annotations

Check warning on line 4 in backend/geonature/celery_app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/celery_app.py#L4

Added line #L4 was not covered by tests

Check warning on line 15 in backend/geonature/celery_app.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/celery_app.py#L13-L15

Added lines #L13 - L15 were not covered by tests

Check warning on line 58 in backend/geonature/core/gn_permissions/tools.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_permissions/tools.py#L58

Added line #L58 was not covered by tests

Check warning on line 104 in backend/geonature/core/gn_permissions/tools.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_permissions/tools.py#L104

Added line #L104 was not covered by tests

Check warning on line 272 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L272

Added line #L272 was not covered by tests

Check warning on line 416 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L415-L416

Added lines #L415 - L416 were not covered by tests

Check warning on line 419 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L419

Added line #L419 was not covered by tests

Check warning on line 422 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L421-L422

Added lines #L421 - L422 were not covered by tests

Check warning on line 432 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L432

Added line #L432 was not covered by tests

Check warning on line 441 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L440-L441

Added lines #L440 - L441 were not covered by tests

Check warning on line 444 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L444

Added line #L444 was not covered by tests

Check warning on line 447 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L447

Added line #L447 was not covered by tests

Check warning on line 452 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L452

Added line #L452 was not covered by tests

Check warning on line 457 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L457

Added line #L457 was not covered by tests

Check warning on line 460 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L460

Added line #L460 was not covered by tests

Check warning on line 470 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L470

Added line #L470 was not covered by tests

Check warning on line 478 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L478

Added line #L478 was not covered by tests

Check warning on line 489 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L489

Added line #L489 was not covered by tests

Check warning on line 496 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L492-L496

Added lines #L492 - L496 were not covered by tests

Check warning on line 501 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L499-L501

Added lines #L499 - L501 were not covered by tests

Check warning on line 505 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L504-L505

Added lines #L504 - L505 were not covered by tests

Check warning on line 508 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L508

Added line #L508 was not covered by tests

Check warning on line 511 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L510-L511

Added lines #L510 - L511 were not covered by tests

Check warning on line 514 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L514

Added line #L514 was not covered by tests

Check warning on line 516 in backend/geonature/core/gn_synthese/imports/actions.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/geonature/core/gn_synthese/imports/actions.py#L516

Added line #L516 was not covered by tests