Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
parthban-db committed Jul 5, 2024
1 parent 7a49922 commit b257bdd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/integration/test_dbutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
from databricks.sdk.errors import NotFound


def test_put_local_path(w, random, tmp_path):
to_write = random(1024 * 1024 * 2.5).encode()
w.dbutils.fs.put(f'file:{tmp_path}', to_write, True)
assert w.dbutils.fs.head(f'file:{tmp_path}') == to_write
assert False


def test_rest_dbfs_ls(w, env_or_skip):
from databricks.sdk.runtime import dbutils

Expand Down

0 comments on commit b257bdd

Please sign in to comment.