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

Add Nimbus background image to community model #1075

Open
wants to merge 1 commit into
base: 11-11-add_wiki_url_to_cs_community_endpoint
Choose a base branch
from

Conversation

Oksamies
Copy link
Contributor

No description provided.

Copy link
Contributor Author

Oksamies commented Nov 12, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@@ -66,7 +66,7 @@ def test_api_cyberstorm_community_list_get_success(
assert results[index]["identifier"] == c.identifier
assert results[index]["total_download_count"] == c.aggregated.download_count
assert results[index]["total_package_count"] == c.aggregated.package_count
assert results[index]["background_image_url"] == c.background_image_url
assert results[index]["nimbus_background_image_url"] == c.background_image_url
Copy link

Choose a reason for hiding this comment

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

The assertion is comparing against the wrong property. The left side checks nimbus_background_image_url but the right side uses background_image_url. To fix this, change to:

assert results[index]["nimbus_background_image_url"] == c.nimbus_background_image_url

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@Oksamies Oksamies force-pushed the 11-12-add_nimbus_background_image_to_community_model branch from 42bf528 to e2d73e2 Compare November 12, 2024 15:45
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.

1 participant