Skip to content

Commit 356d272

Browse files
chore(test): move
1 parent 2abc950 commit 356d272

6 files changed

Lines changed: 4 additions & 4 deletions

File tree

File renamed without changes.
File renamed without changes.

tests/confluence/starbridge_confluence_cli_test.py renamed to tests/starbridge/confluence/starbridge_confluence_cli_test.py

File renamed without changes.

tests/starbridge/core/starbridge_core_env_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def runner() -> CliRunner:
2525
@pytest.fixture(autouse=True)
2626
def backup_env() -> Generator[None, None, None]:
2727
"""Fixture to automatically backup and restore .env file."""
28-
env_path = Path(__file__).parent.parent / ".env"
29-
bak_path = Path(__file__).parent.parent / ".env.bak"
28+
env_path = Path(__file__).parent.parent.parent.parent / ".env"
29+
bak_path = Path(__file__).parent.parent.parent.parent / ".env.bak"
3030
if env_path.is_file():
3131
shutil.copy2(env_path, bak_path)
3232
yield
@@ -83,9 +83,9 @@ def test_core_dot_env_validated(runner) -> None:
8383
assert result.exit_code == 0
8484

8585
# Read .env, remove STARBRIDGE_ATLASSIAN_URL line and write back
86-
env_path = Path(__file__).parent.parent.parent / ".env"
86+
env_path = Path(__file__).parent.parent.parent.parent / ".env"
8787
# Backup .env using Pathlib
88-
bak_path = Path(__file__).parent.parent.parent / ".env.bak"
88+
bak_path = Path(__file__).parent.parent.parent.parent / ".env.bak"
8989
Path(bak_path).write_text(Path(env_path).read_text(encoding="utf-8"), encoding="utf-8")
9090

9191
with open(env_path, encoding="utf-8") as f:

0 commit comments

Comments
 (0)