conda / conda/menuinst

Tests: do not import from `conftest`

Open
#316 2 comments 0 reactions 0 assignees View on GitHub
stale::recovered
Dominant language
Python
Stars
50
Forks
49
Avg merge
1d 11h
Merged PRs (30d)
16

Description

We are importing some constants from `conftest` and that's not good practice.

Comes from https://github.com/conda/menuinst/pull/313#discussion_r2012663733

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the discussion in PR 313 and inspecting the test files that import constants from conftest. Identify where those constants are defined and determine a suitable test-local or shared location; done means the tests no longer import constants from conftest and continue to pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.