Skip to content

Commit aaca781

Browse files
danilojslDevinTDHa
authored andcommitted
[SPARKNLP-1260] Fix python test files path
1 parent aa794f0 commit aaca781

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/test/reader/reader2table_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ def setUp(self):
5252

5353
def runTest(self):
5454
reader2table = Reader2Table() \
55-
.setContentPath("/home/danilo/tmp/mix-files") \
55+
.setContentPath(f"{os.getcwd()}/../src/test/resources/reader") \
5656
.setOutputCol("document")
5757

5858
pipeline = Pipeline(stages=[reader2table])
5959
model = pipeline.fit(self.empty_df)
6060

6161
result_df = model.transform(self.empty_df)
62-
result_df.show(truncate=False)
6362

6463
self.assertTrue(result_df.select("document").count() > 1)

0 commit comments

Comments
 (0)