Skip to content

Commit

Permalink
Added fname extension to better match real world
Browse files Browse the repository at this point in the history
Signed-off-by: pryce-turner <[email protected]>
  • Loading branch information
pryce-turner committed Jun 18, 2024
1 parent 3a1b191 commit a0e0557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/flytekit/unit/core/test_flyte_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,6 @@ def test_headers():


def test_new_remote_file():
nf = FlyteFile.new_remote_file(name="foo")
nf = FlyteFile.new_remote_file(name="foo.txt")
assert isinstance(nf, FlyteFile)
assert nf.path.endswith('foo')
assert nf.path.endswith('foo.txt')

0 comments on commit a0e0557

Please sign in to comment.