pytest_gee.dictionary_regression ================================ .. py:module:: pytest_gee.dictionary_regression .. autoapi-nested-parse:: Implementation of the ``dictionary_regression`` fixture. Classes ------- .. autoapisummary:: pytest_gee.dictionary_regression.DictionaryFixture Module Contents --------------- .. py:class:: DictionaryFixture(datadir, original_datadir, request) Bases: :py:obj:`pytest_regressions.data_regression.DataRegressionFixture` Fixture for regression testing of :py:class:`ee.Dictionary`. .. py:method:: check(data_dict, basename = None, fullpath = None, prescision = 6) Check the given list against a previously recorded version, or generate a new file. :param data_dict: The dictionary to check. :param basename: The basename of the file to test/record. If not given the name of the test is used. :param fullpath: complete path to use as a reference file. This option will ignore ``datadir`` fixture when reading *expected* files but will still use it to write *obtained* files. Useful if a reference file is located in the session data dir for example. :param precision: The number of decimal places to round to when comparing floats.