Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiggi committed Feb 24, 2023
1 parent 994b3e2 commit 90c6383
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion disdrodb/tests/test_config_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class L0B_encodings_2n_level(BaseModel):
ROOT_DISDRODB_FOLDER = os.path.join(
os.path.dirname(os.path.dirname(os.path.realpath(__file__))),
)
CONFIG_FOLDER = os.path.join(ROOT_DISDRODB_FOLDER, "L0", "configs")
CONFIG_FOLDER = os.path.join(ROOT_DISDRODB_FOLDER, "l0", "configs")


def list_files(path: str, file_name: str) -> List[str]:
Expand Down
2 changes: 1 addition & 1 deletion disdrodb/tests/test_l0a_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def test_drop_time_periods():
df_out = l0a_processing.drop_time_periods(df, time_periods=inside_time_periods)
assert not np.any(
df_out["time"].between(
inside_time_periods[0][0], inside_time_periods[0][1], inclusive=True
inside_time_periods[0][0], inside_time_periods[0][1], inclusive='both'
)
)

Expand Down
2 changes: 1 addition & 1 deletion disdrodb/tests/test_standards.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
ROOT_DISDRODB_FOLDER = os.path.join(
os.path.dirname(os.path.dirname(os.path.realpath(__file__))),
)
CONFIG_FOLDER = os.path.join(ROOT_DISDRODB_FOLDER, "L0", "configs")
CONFIG_FOLDER = os.path.join(ROOT_DISDRODB_FOLDER, "l0", "configs")


@pytest.mark.parametrize("sensor_name", os.listdir(CONFIG_FOLDER))
Expand Down

0 comments on commit 90c6383

Please sign in to comment.