Skip to content

t.list: Add tests files to t.list#7482

Open
saket0187 wants to merge 1 commit into
OSGeo:mainfrom
saket0187:Add-pytest-t.list
Open

t.list: Add tests files to t.list#7482
saket0187 wants to merge 1 commit into
OSGeo:mainfrom
saket0187:Add-pytest-t.list

Conversation

@saket0187
Copy link
Copy Markdown
Contributor

This PR adds pytest-based test files for t.list as part of the discussion in #7466 .

@github-actions github-actions Bot added temporal Related to temporal data processing Python Related code is in Python module tests Related to Test Suite labels Jun 2, 2026
from grass.tools import Tools


@pytest.mark.needs_solo_run
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tried without that marker first? This forces the test to be run without any other test running in a separate worker, which is slower. We should aim to be able to run most new tests without this. Some use cases where it is useful and needed, is when a test calls some code that already starts multiple processes or threads, such as when running with pytest-xdist, the jobs to do become slower because we are starting too much jobs vs the CPUs available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module Python Related code is in Python temporal Related to temporal data processing tests Related to Test Suite

Projects

Development

Successfully merging this pull request may close these issues.

3 participants