Skip to content

Commit

Permalink
Added black formatting on test_api
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Dec 22, 2023
1 parent 6998669 commit 966c38a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/test_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,9 @@ def test_snapshot_bind_zip():
), f"Task did not complete successfully after {max_attempts} attempts"



## Snapshot Plain


def test_snapshot_plain():
response = client.post(
"/v1/snapshot/plain/",
Expand All @@ -552,6 +552,7 @@ def test_snapshot_plain():

## Stats


def test_stats_endpoint_custom_polygon():
headers = {"access-token": access_token}
payload = {
Expand Down Expand Up @@ -595,6 +596,7 @@ def test_stats_endpoint_iso3():

## HDX


def test_hdx_submit_normal_iso3():
headers = {"access-token": access_token}
payload = {
Expand Down Expand Up @@ -1085,8 +1087,9 @@ def test_hdx_submit_normal_iso3_upload_option():
), f"Task did not complete successfully after {max_attempts} attempts"


## Tasks connection

## Tasks connection


def test_worker_connection():
response = client.get("/v1/tasks/ping/'")
assert response.status_code == 200

0 comments on commit 966c38a

Please sign in to comment.