testing new style DADF5 file

This commit is contained in:
Martin Diehl 2019-12-04 05:59:52 +01:00
parent 32ebcea207
commit 6c31e22855
2 changed files with 7 additions and 1 deletions

View File

@ -23,7 +23,13 @@ def reference_dir(reference_dir_base):
class TestDADF5:
def test_time_increments(self,default):
shape = default.read_dataset(default.get_dataset_location('F'),0).shape
default.set_by_time(0.0,20.0)
for i in default.iter_visible('increments'):
assert shape == default.read_dataset(default.get_dataset_location('F'),0).shape
def test_add_deviator(self,default):
default.add_deviator('P')
loc = {'P' :default.get_dataset_location('P'),