Skip to content

Commit

Permalink
fix windows_format path
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan-Feng committed May 31, 2024
1 parent 77008ef commit 1d31cfe
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tests/api/test_flexible_calling.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ def test_Linux_path(self):

self.assertEqual(
logobs.output[0],
"INFO:root:the working dir provided is in Linux format.",
)

self.assertEqual(
logobs.output[1],
"INFO:root:Change current working path to the specified path.",
)

Expand All @@ -89,6 +94,10 @@ def test_Win_path(self):

self.assertEqual(
logobs.output[0],
"INFO:root:the working dir provided is in Win format.",
)
self.assertEqual(
logobs.output[1],
"INFO:root:Change current working path to the specified path.",
)

Expand All @@ -112,7 +121,7 @@ def test_valid_dir(self):
os.chdir("../../..")

self.assertEqual(
logobs.output[0],
logobs.output[1],
"INFO:root:Change current working path to the specified path.",
)

Expand All @@ -131,7 +140,7 @@ def test_valid_dir(self):
os.chdir("../../..")

self.assertEqual(
logobs.output[0],
logobs.output[1],
"INFO:root:Change current working path to the specified path.",
)

Expand Down

0 comments on commit 1d31cfe

Please sign in to comment.