コード例 #1
0
ファイル: test___init__.py プロジェクト: draftcode/fakeio
 def test_should_normalize_mixture(self):
     normalized = fakeio._normalize_path("C:\\somepath/something.txt")
     self.assertEqual(normalized, "C:/somepath/something.txt")
コード例 #2
0
ファイル: test___init__.py プロジェクト: draftcode/fakeio
 def test_should_normalize_mixture(self):
     normalized = fakeio._normalize_path("C:\\somepath/something.txt")
     self.assertEqual(normalized, "C:/somepath/something.txt")
コード例 #3
0
ファイル: test___init__.py プロジェクト: draftcode/fakeio
 def test_should_normalize_unix_path(self):
     normalized = fakeio._normalize_path("/somepath/something.txt")
     self.assertEqual(normalized, "/somepath/something.txt")
コード例 #4
0
ファイル: test___init__.py プロジェクト: draftcode/fakeio
 def test_should_normalize_unix_path(self):
     normalized = fakeio._normalize_path("/somepath/something.txt")
     self.assertEqual(normalized, "/somepath/something.txt")