MetOffice / MetOffice/fab

Test creating directory like `<property object at 0x7c7dd7379120>` under the tests directory

Open Beginner friendly
#583 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
9
Avg merge
12d 12h
Merged PRs (30d)
2

Description

Running:

```
.../fab/tests$ python -m pytest -s -k test_missing_project ./system_tests/cui/
```
creates:
```
.../fab/tests$ ls -l fab-workspace/
total 4
drwxr-xr-x 2 joerg joerg 4096 Jun 26 19:05 ''
```
This likely invalid name should not be used, and the directory should be created in /tmp

Contributor guide

Open the contributing guide

Research direction

Start by running the reported pytest command and inspect system_tests/cui/ for test_missing_project and the fab-workspace output. Trace where the property-object directory name and workspace path are chosen. Done means the test no longer creates that invalid-looking directory under tests and creates its workspace in /tmp instead.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.