Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
Signed-off-by: Mostafa Farrag <[email protected]>
  • Loading branch information
MAfarrag committed Jan 15, 2025
1 parent c05425e commit d8932ec
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/dflowfm/bc/test_forcing_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
)
from tests.utils import assert_files_equal

TEST_BC_FILE = "test.bc"


def quantityunitpair(quantity, unit, verticalpositionindex=None):
return QuantityUnitPair(
Expand Down Expand Up @@ -202,8 +200,8 @@ def test_read_bc_missing_field_raises_correct_error(self, invalid_data_dir):
def test_save_forcing_model(
self, time_series_values, t3d_values, output_files_dir, reference_files_dir
):
bc_file = output_files_dir / TEST_BC_FILE
reference_file = reference_files_dir / "bc" / TEST_BC_FILE
bc_file = output_files_dir / "test.bc"
reference_file = reference_files_dir / "bc/test.bc"
forcingmodel = ForcingModel()
forcingmodel.filepath = bc_file

Expand Down

0 comments on commit d8932ec

Please sign in to comment.