Skip to content

Commit

Permalink
Remove unnecesary module warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Oct 8, 2024
1 parent dfd56bb commit ea3a988
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions src/tmt_web/generators/html_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,3 @@ def generate_html_page(obj: Test | Plan, logger: Logger) -> str:
def generate_testplan_html_page(test: Test, plan: Plan, logger: Logger) -> str:
logger.print("Generating the HTML file...")
return render_template("testandplan.html.j2", test=test, plan=plan)


if __name__ == "__main__":
print("This is not an executable file!")
4 changes: 0 additions & 4 deletions src/tmt_web/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,3 @@ def main(test_url: str | None,
return process_testplan_request(test_url, test_name, test_ref, test_path,
plan_url, plan_name, plan_ref, plan_path, out_format)
return None


if __name__ == "__main__":
print("This is not executable file!")
4 changes: 0 additions & 4 deletions src/tmt_web/utils/git_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,3 @@ def get_git_repository(url: str, logger: Logger, ref: str | None) -> Path:
clone_repository(url, logger, ref)

return get_path_to_repository(url)


if __name__ == "__main__":
print("This is not executable file!")

0 comments on commit ea3a988

Please sign in to comment.