def test_save(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) offline.generate_rb_space() offline.save_rb_space('space') assert os.path.isfile('space')
def test_generate(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) offline.generate_rb_space()