Skip to content

Commit 9a38ec4

Browse files
committed
chore: Remove unused function
1 parent a3bc770 commit 9a38ec4

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

tests/test_cli.py

-7
Original file line numberDiff line numberDiff line change
@@ -1015,13 +1015,6 @@ def test_get_tmuxinator_dir(monkeypatch):
10151015
assert cli.get_tmuxinator_dir() == os.path.expanduser("~/.tmuxinator/")
10161016

10171017

1018-
def test_get_cwd(tmp_path: pathlib.Path, monkeypatch: pytest.MonkeyPatch):
1019-
assert cli.get_cwd() == os.getcwd()
1020-
monkeypatch.chdir(tmp_path)
1021-
assert cli.get_cwd() == str(tmp_path)
1022-
assert cli.get_cwd() == os.getcwd()
1023-
1024-
10251018
def test_get_teamocil_dir(monkeypatch: pytest.MonkeyPatch):
10261019
assert cli.get_teamocil_dir() == os.path.expanduser("~/.teamocil/")
10271020

tmuxp/cli.py

-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636
VALID_CONFIG_DIR_FILE_EXTENSIONS = [".yaml", ".yml", ".json"]
3737

3838

39-
def get_cwd():
40-
return os.getcwd()
41-
42-
4339
def tmuxp_echo(message=None, log_level="INFO", style_log=False, **click_kwargs):
4440
"""
4541
Combines logging.log and click.echo

0 commit comments

Comments
 (0)