Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdark committed Nov 6, 2023
1 parent ee155e9 commit 849de04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_surface_quantity.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def test_title_generation(tmp_path, value):
field=F.Species("TEST"),
surface=F.SurfaceSubdomain1D(id=35, x=1),
)
my_export.initialise_export()
my_export.value = 2.0
my_export.write(0)
title = np.genfromtxt(my_export.filename, delimiter=",", max_rows=1, dtype=str)

expected_title = "Flux surface 35: TEST"
Expand Down Expand Up @@ -110,7 +111,6 @@ def test_writer(tmp_path, value):
surface=F.SurfaceSubdomain1D(id=1, x=0),
)
my_export.value = 2.0
my_export.initialise_export()

for i in range(10):
my_export.write(i)
Expand Down

0 comments on commit 849de04

Please sign in to comment.