Skip to content

Commit

Permalink
v.univar: Apply xfail_windows decorator to failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Sep 21, 2024
1 parent abae3b9 commit d506be4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vector/v.univar/testsuite/test_v_univar.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
from grass.gunittest.case import TestCase
from grass.gunittest.main import test
from grass.gunittest.gmodules import SimpleModule
from grass.gunittest.utils import xfail_windows


class TestProfiling(TestCase):
@xfail_windows
def test_flagg(self):
"""Testing flag g with map lakes"""
output_str = """n=15279
Expand All @@ -40,6 +42,7 @@ def test_flagg(self):
v_univar.run()
self.assertLooksLike(actual=v_univar.outputs.stdout, reference=output_str)

@xfail_windows
def test_flage(self):
"""Testing flag e with map geology"""
output_str = """number of features with non NULL attribute: 1832
Expand Down Expand Up @@ -68,6 +71,7 @@ def test_flage(self):
v_univar.run()
self.assertLooksLike(actual=v_univar.outputs.stdout, reference=output_str)

@xfail_windows
def test_flagw(self):
"""Testing flag w with map lakes"""
output_str = """number of features with non NULL attribute: 15279
Expand All @@ -83,6 +87,7 @@ def test_flagw(self):
v_univar.run()
self.assertLooksLike(actual=v_univar.outputs.stdout, reference=output_str)

@xfail_windows
def test_flagd(self):
"""Testing flag d with map hospitals"""
univar_string = """number of primitives: 160
Expand Down

0 comments on commit d506be4

Please sign in to comment.