MCPcopy Create free account
hub / github.com/pyinvoke/invoke / nested_absolute_path

Method nested_absolute_path

tests/context.py:145–147  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143 assert self.c.cwd == os.path.join("a", "b")
144
145 def nested_absolute_path(self):
146 self.c.command_cwds = ["a", "/b", "c"]
147 assert self.c.cwd == os.path.join("/b", "c")
148
149 def multiple_absolute_paths(self):
150 self.c.command_cwds = ["a", "/b", "c", "/d", "e"]

Callers

nothing calls this directly

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected