MCPcopy
hub / github.com/StevenBlack/hosts / test_join

Method test_join

testUpdateHostsFile.py:1987–1993  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1985 self.assertEqual(actual, expected)
1986
1987 def test_join(self):
1988 for i in range(1, 4):
1989 paths = ["pathNew"] * i
1990 expected = "path1" + (self.sep + "pathNew") * i
1991 actual = path_join_robust("path1", *paths)
1992
1993 self.assertEqual(actual, expected)
1994
1995 def test_join_unicode(self):
1996 for i in range(1, 4):

Callers

nothing calls this directly

Calls 1

path_join_robustFunction · 0.90

Tested by

no test coverage detected