You've already forked hotpocket
BTHLABS-94: Pass is_netloc_banned from save to share extension
This commit is contained in:
@@ -60,6 +60,7 @@ def test_ok(authenticated_client: Client,
|
||||
assert call_result['result']['url'].endswith(reverse(
|
||||
'ui.associations.view', args=(association_pk,),
|
||||
))
|
||||
assert call_result['result']['is_netloc_banned'] is False
|
||||
|
||||
AssociationsTestingService().assert_created(
|
||||
pk=association_pk,
|
||||
@@ -105,6 +106,8 @@ def test_ok_netloc_banned(authenticated_client: Client,
|
||||
|
||||
save_pk = uuid.UUID(call_result['result']['target_uuid'])
|
||||
|
||||
assert call_result['result']['is_netloc_banned'] is True
|
||||
|
||||
SavesTestingService().assert_created(
|
||||
pk=save_pk,
|
||||
account_uuid=account.pk,
|
||||
|
||||
Reference in New Issue
Block a user