Skip to content

Commit

Permalink
fix pyspark test
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed Jun 20, 2024
1 parent c6ac40c commit b6c5cfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyspark/tests/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ def test_vertex_reader_with_json(spark):
initialize(spark)

vertex_info = VertexInfo.load_vertex_info(
GRAPHAR_TESTS_EXAMPLES.joinpath("/ldbc_sample/json/")
GRAPHAR_TESTS_EXAMPLES.joinpath("ldbc_sample/json")
.joinpath("Person.vertex.yml")
.absolute()
.__str__()
)
vertex_reader = VertexReader.from_python(
GRAPHAR_TESTS_EXAMPLES.joinpath("/ldbc_sample/json/").absolute().__str__(),
GRAPHAR_TESTS_EXAMPLES.joinpath("ldbc_sample/json/").absolute().__str__(),
vertex_info,
)
assert VertexReader.from_scala(vertex_reader.to_scala()) is not None
Expand Down

0 comments on commit b6c5cfa

Please sign in to comment.