示例#1
0
def test_simulation_collect(sim_output):
    os.chdir(sim_output)

    sim = Simulation()
    sim.collect()

    assert sim.output is not None
    assert type(sim.output.channel_rt) is WrfHydroTs
示例#2
0
def test_simulation_collect(sim_output):
    sim = Simulation()
    sim.collect(sim_dir=sim_output)
    assert sim.output is not None
    assert type(sim.output) is SimulationOutput