Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <pingsutw@apache.org>
  • Loading branch information
pingsutw committed Dec 6, 2021
1 parent a614ba6 commit 7288a2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/flytekit/unit/core/test_type_hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def wf(path: str) -> os.PathLike:
n1 = t1(path=path)
return t2(fs=n1)

assert wf(path="s3://somewhere") == "s3://somewhere"
assert "/tmp/flyte/" in wf(path="s3://somewhere").path


def test_flyte_directory_in_dataclass():
Expand Down Expand Up @@ -409,7 +409,7 @@ def wf(path: str) -> os.PathLike:
n1 = t1(path=path)
return t2(fs=n1)

assert wf(path="s3://somewhere") == "s3://somewhere"
assert "/tmp/flyte/" in wf(path="s3://somewhere").path


def test_wf1_with_map():
Expand Down

0 comments on commit 7288a2c

Please sign in to comment.