Skip to content

Commit 3fcc7aa

Browse files
committed
Add test_bulk_create_subscription_success_sync
1 parent 607e62e commit 3fcc7aa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/integration/test_subscriptions_api.py

+10
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,16 @@ def test_create_subscription_success_sync():
368368
})
369369
assert sub['name'] == 'test'
370370

371+
@bulk_create_mock
372+
def test_bulk_create_subscription_success_sync():
373+
"""Subscription is created, description has the expected items."""
374+
375+
pl = Planet()
376+
pl.subscriptions._client._base_url = TEST_URL
377+
resp = pl.subscriptions.bulk_create_subscriptions({
378+
'name': 'test', 'delivery': 'yes, please', 'source': 'test'
379+
})
380+
assert '/subscriptions/v1?' in resp['_links']['list']
371381

372382
@pytest.mark.anyio
373383
@create_mock

0 commit comments

Comments
 (0)