pygrass.tests package
Submodules
pygrass.tests.benchmark module
Created on Sat Jun 16 20:24:56 2012
@author: soeren
-
class
pygrass.tests.benchmark.
OptionParser
(**kwargs)[source]
Bases: optparse.OptionParser
-
check_values
(values: Values, args: [string])[source]
-> (values : Values, args : [string])
Check that the supplied option values and leftover arguments are
valid. Returns the option values and leftover arguments
(possibly adjusted, possibly completely new – whatever you
like). Default implementation just returns the passed-in
values; subclasses may override as desired.
-
class
pygrass.tests.benchmark.
OptionWithDefault
(*opts, **attrs)[source]
Bases: optparse.Option
-
ATTRS
= ['action', 'type', 'dest', 'default', 'nargs', 'const', 'choices', 'callback', 'callback_args', 'callback_kwargs', 'help', 'metavar', 'required']
-
pygrass.tests.benchmark.
get_testdict
(testlist)[source]
-
pygrass.tests.benchmark.
get_testlist
(loc)[source]
-
pygrass.tests.benchmark.
get_txt
(results)[source]
-
pygrass.tests.benchmark.
main
(testdict)[source]
Main function
-
pygrass.tests.benchmark.
mytimer
(func, runs=1)[source]
-
pygrass.tests.benchmark.
print_test
(testdict)[source]
-
pygrass.tests.benchmark.
run_benchmark
(resolution_list, runs, testdict, profile)[source]
-
pygrass.tests.benchmark.
test__RasterRowIO_row_access__add
()[source]
-
pygrass.tests.benchmark.
test__RasterRowIO_row_access__if
()[source]
-
pygrass.tests.benchmark.
test__RasterRow_row_access__add
()[source]
-
pygrass.tests.benchmark.
test__RasterRow_row_access__if
()[source]
-
pygrass.tests.benchmark.
test__RasterRow_value_access__add
()[source]
-
pygrass.tests.benchmark.
test__RasterRow_value_access__if
()[source]
-
pygrass.tests.benchmark.
test__RasterSegment_row_access__add
()[source]
-
pygrass.tests.benchmark.
test__RasterSegment_row_access__if
()[source]
-
pygrass.tests.benchmark.
test__RasterSegment_value_access__add
()[source]
-
pygrass.tests.benchmark.
test__RasterSegment_value_access__if
()[source]
-
pygrass.tests.benchmark.
test__mapcalc__add
()[source]
-
pygrass.tests.benchmark.
test__mapcalc__if
()[source]
pygrass.tests.set_mapset module
Created on Thu Aug 23 11:07:38 2012
@author: pietro
-
pygrass.tests.set_mapset.
main
()[source]
-
pygrass.tests.set_mapset.
read_gisrc
(gisrcpath)[source]
Module contents