Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
pindge committed Dec 7, 2020
1 parent e7afb7e commit 6ee9f69
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions integration_tests/test_s2_l2a_footprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,12 @@ def test_get_overview_date_selector(client: FlaskClient):
assert len(menu[3].find(".option-menu ul li")) == 3


def test_refresh_product(
empty_client: FlaskClient, summary_store: SummaryStore
):
def test_refresh_product(empty_client: FlaskClient, summary_store: SummaryStore):
# Populate one product, so they don't get the usage error message ("run cubedash generate")
summary_store.refresh_product(
summary_store.index.products.get_by_name("s2_l2a")
)
summary_store.refresh_product(summary_store.index.products.get_by_name("s2_l2a"))
summary_store.get_or_update("s2_l2a")

# Then load a completely uninitialised product.
html = get_html(empty_client, "/datasets/s2_l2a")
search_results = html.find(".search-result a")
assert len(search_results) == 5
assert len(search_results) == 5

0 comments on commit 6ee9f69

Please sign in to comment.