MetOffice / MetOffice/ANTS

test_missing_lbm failing with environment upgrade

Open
#170 0 comments 0 reactions 1 assignee Claimed by @mo-tgeddes View on GitHub
Dominant language
Python
Stars
7
Forks
10
Avg merge
1d 19h
Merged PRs (30d)
5

Description

# 🐜 Bug Report
`test_missing_lbm` in `command_parse/test_integration.py` failing with the new environment upgrade. Likely due to mock allowing code to continue after `sys.exit` called. Error is that `sys.exit` is called twice

## How to reproduce
Step by step guide to reproduce the behaviour:

1. load ants/developer-68
2. add ants to pythonpath
3.run `pytest lib/ants/tests/command_parse /test_integration.py`

## Environment
I am using the ANTS/developer-68
environment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.