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

[BUG] Desactived depreciation test & add test for website builder #586

Merged
merged 4 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 2 additions & 1 deletion tests/runners/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def test_tests_runner_on_simple_repo(self):
runner.cloned_repo_directory = self.simple_project_dir
qiskit_version, result = runner.workload()

self.assertFalse(all(r.has_qiskit_deprecation_logs for r in result))
# Uncomment when qiskit-terra gonna be commonly unused.
mickahell marked this conversation as resolved.
Show resolved Hide resolved
# self.assertFalse(all(r.has_qiskit_deprecation_logs for r in result))
self.assertTrue(all(r.ok for r in result))
self.assertTrue(qiskit_version)

Expand Down
5 changes: 5 additions & 0 deletions tests/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ def _delete_members_json(self):
if not os.path.exists(self.path):
os.makedirs(self.path)

def test_build_website(self):
"""Test the website builder function."""
manager = Manager(root_path=f"{os.path.abspath(os.getcwd())}/../")
self.assertIsInstance(manager.build_website(), str)

def test_parser_issue(self):
"""Tests issue parsing function.
Function: Manager
Expand Down