Skip to content

Commit

Permalink
Use pyproject.toml and src root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorkertesz committed May 8, 2024
1 parent da96779 commit b859607
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sources/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ def test_file_source_grib_save():
assert os.path.isfile(os.path.join(tmpdir, "test2.grib"))
# Check file can be saved in current dir with detected filename:
here = os.curdir
print("here:", here)
os.chdir(tmpdir)
print("tmpdir:", tmpdir)
s.save()
assert os.path.isfile("test.grib")
os.chdir(here)
print("curdir:", os.curdir)


def test_file_source_grib_no_overwrite():
Expand Down

0 comments on commit b859607

Please sign in to comment.