On Wed, Aug 5, 2015 at 4:30 PM, Vaclav Petras <wenzesl...@gmail.com> wrote:
...
> To run just one selected test use, for example:
>
> cd scripts/v.what.strds/testsuite
> python test_what_strds.py TestWhatStrds.test_output

Yes,

GRASS 7.1.svn 
(nc_spm_08_grass7):~/software/grass71/scripts/v.what.strds/testsuite
> python test_what_strds.py TestWhatStrds.test_output
...
Traceback (most recent call last):
  File "test_what_strds.py", line 50, in test_output
    output="what_strds", overwrite=True)
  File 
"/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/etc/python/grass/gunittest/case.py",
line 1139, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <v.what.strds> module ended with non-zero
return code (1)
Called: v.what_strds(input='points', strds=['A'], output='what_strds',
overwrite=True)
See the folowing errors:
DB settings already defined, nothing to do
Traceback (most recent call last):
  File 
"/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/scripts/v.db.addtable",
line 150, in <module>
    sys.exit(main())
  File 
"/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/scripts/v.db.addtable",
line 129, in main
    table = '%s.%s' (schema, table)
TypeError: 'str' object is not callable
ERROR: Impossible add table to vector what_strds


this part looks suspicious:
... strds=['A'] ...

the [..] might cause the issue?

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to