Skip to content

Commit

Permalink
Use ISO-8601 in test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-petter-hauge committed Apr 29, 2022
1 parent 2d486df commit d5864e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/jobs/rft/test_gendata_rft.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def test_ert_setup_one_well_one_rft_point(tmpdir):

# Time-map needed for loading observations with no summary file. It seems we need
# one date for start-date, and one date for every report_step in use.
Path("time_map.txt").write_text("01/01/2000\n01/02/2000") # No ISO-8601 support..
Path("time_map.txt").write_text("2000-01-01\n2000-02-01")

# Write an ERT config file
Path("config.ert").write_text(
Expand Down Expand Up @@ -616,8 +616,8 @@ def test_ert_setup_one_well_two_points_different_time_and_depth(tmpdir):
# Time-map needed for loading observations with no summary file. It seems we need
# one date for start-date, and one date for every report_step in use.
Path("time_map.txt").write_text(
"01/01/2000\n01/02/2000\n01/01/2001"
) # No ISO-8601 support..
"2000-01-01\n2000-02-01\n2001-01-01"
)

# Write an ERT config file
Path("config.ert").write_text(
Expand Down

0 comments on commit d5864e4

Please sign in to comment.