tests package

Submodules

tests.conftest module

Dummy conftest.py for repurpose.

If you don’t know what this is for, just leave it empty. Read more about conftest.py under: https://pytest.org/latest/plugins.html

tests.test_ts2img module

Module for testing time series to image conversion

Created on Tue Apr 14 17:00:24 2015

@author: christoph.paulik@geo.tuwien.ac.at

class tests.test_ts2img.MockGrid[source]

Bases: object

FakeGrid

grid_points()[source]

return 10 grid points

class tests.test_ts2img.MockReader(grid)[source]

Bases: object

Fake Dataset

read_ts(gpi)[source]
class tests.test_ts2img.MockWriter[source]

Bases: object

FakeWriter

write_ts(gpis, ts)[source]
tests.test_ts2img.test_ts2img_mock_datasets()[source]

test the basic programatic logic of the ts2img class by using mock datasets that only pass a pandas dataframe through

Module contents