Browse Source

r.horizon: fix test

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65636 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 years ago
parent
commit
fbc8d44d6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      raster/r.horizon/testsuite/test_r_horizon.py

+ 1 - 1
raster/r.horizon/testsuite/test_r_horizon.py

@@ -88,7 +88,7 @@ class TestHorizon(TestCase):
     def test_point_mode_one_direction(self):
     def test_point_mode_one_direction(self):
         """Test mode with 1 point and 1 direction"""
         """Test mode with 1 point and 1 direction"""
         module = SimpleModule('r.horizon', elevation='elevation',
         module = SimpleModule('r.horizon', elevation='elevation',
-                              coordinates=(634720, 216180), output=self.horizon, direction=180)
+                              coordinates=(634720, 216180), output=self.horizon, direction=180, step=0)
         self.assertModule(module)
         self.assertModule(module)
         stdout = module.outputs.stdout
         stdout = module.outputs.stdout
         self.assertMultiLineEqual(first=ref1, second=stdout)
         self.assertMultiLineEqual(first=ref1, second=stdout)