ewatercycle.testing.helpers =========================== .. py:module:: ewatercycle.testing.helpers .. autoapi-nested-parse:: Helper functions for testing. Module Contents --------------- .. py:function:: reyamlify(value: str) -> str Convert value to yaml object and dump it again. recipy.to_yaml() can generate a slightly different yaml string than the expected string. Call this method on expected string to get consistent results. :param value: yaml string :returns: yaml string .. py:function:: create_netcdf(var_name: str, filename: pathlib.Path) Create a netcdf file with random data. :param var_name: Variable name :param filename: Path to file :returns: Path to file