Keep configs in ~/.config/build-release/ and tool state in ~/.local/state/build-release/, under XDG_* where set
CI / tests (pull_request) Successful in 6m34s
CI / tests (pull_request) Successful in 6m34s
This commit is contained in:
@@ -24,12 +24,12 @@ class Main(unittest.TestCase):
|
||||
|
||||
def configured(self, checkout: str) -> pathlib.Path:
|
||||
folder = configured(self, pathlib.Path(checkout))
|
||||
self.home = folder.parents[1]
|
||||
self.home = folder.parents[2]
|
||||
return folder
|
||||
|
||||
def run_main(self, *argv):
|
||||
with contextlib.redirect_stdout(io.StringIO()), contextlib.redirect_stderr(io.StringIO()) as said:
|
||||
code = rank_todo.main(list(argv), self.home)
|
||||
code = rank_todo.main(list(argv), self.home, {})
|
||||
return code, said.getvalue()
|
||||
|
||||
def test_ranks_the_file_in_place_and_check_writes_nothing(self):
|
||||
|
||||
Reference in New Issue
Block a user