[GRASS-git] [OSGeo/grass] 8843f1: v.random: migrate tests from gunittest to pytest (...

Rajveer Bishnoi noreply at github.com
Mon Sep 14 20:03:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 8843f13794fc034b2ed99e24a3c2e985e506d762
      https://github.com/OSGeo/grass/commit/8843f13794fc034b2ed99e24a3c2e985e506d762
  Author: Rajveer Bishnoi <irajveer.bishnoi2310 at gmail.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    A vector/v.random/tests/v_random_test.py
    R vector/v.random/testsuite/test_v_random.py

  Log Message:
  -----------
  v.random: migrate tests from gunittest to pytest (#7822)

Cover the same three cases as the gunittest testsuite: the requested number of
points is created, the -z flag with zmin/zmax produces a 3D map, and restrict=
keeps points inside a given area. Replace the nc_state sample vector with a
synthetic area (v.in.region on a sub-region) so the test needs no dataset, and
read topology via v.info -t format=json.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list