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

Enabled GEO tests after fix #111

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Enabled GEO tests after fix #111

merged 2 commits into from
Feb 16, 2024

Conversation

qvad
Copy link

@qvad qvad commented Jan 9, 2024

No description provided.

@qvad qvad requested a review from archit-rastogi January 9, 2024 11:18
@qvad qvad requested a review from rjalan-yb February 14, 2024 18:38
@@ -258,6 +258,8 @@ def send_report_to_reportportal(
logging.error(f"Code: {response.status_code} Text: {response.text}")
return False

return True

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of returning True here, should not we remove else statement and put return in if clause. That makes more sense. Because we have an if clause but no return statement there.

if response.status_code == 200:
        logging.info(f"Successfully updated attributes for launch {launch_id}")
        return True
logging.error(f"Could not update attributes for launch {launch_id}")
logging.error(f"Code: {response.status_code} Text: {response.text}")
return False

Copy link

@rjalan-yb rjalan-yb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comment.

@qvad qvad requested a review from rjalan-yb February 16, 2024 07:01
Copy link

@rjalan-yb rjalan-yb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qvad qvad merged commit 1ffec11 into master-yb Feb 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants