Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninstalled: Drop the usage of platform directories for test suites #156

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions fluster/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,6 @@ def __init__(self) -> None:
)
if is_installed:
self.resources_dir, self.test_suites_dir = self._get_installed_dirs()
else:
# Only use the system directory for test suites and resources if the
# local directory doesn't exist and the system directory does exist.
if (
sys.platform.startswith("linux")
and not os.path.exists(self.test_suites_dir)
and os.path.exists(TEST_SUITES_DIR_SYS)
):
line = "=" * 100
print(
f"{line}\n"
f'WARNING: Using "{TEST_SUITES_DIR_SYS}" with fluster uninstalled.\n'
"This will be deprecated in future versions.\n"
"Use fluster installed versions instead.\n"
"Check https://github.com/fluendo/fluster/pull/134\n"
f"{line}"
)
self.test_suites_dir = TEST_SUITES_DIR_SYS

self.parser = self._create_parser()

Expand Down