Skip to content

Commit

Permalink
more specific assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
650elx committed Dec 18, 2024
1 parent 8202815 commit 2f7267f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ def test_configuration_initialization_happy_path(sinch_client_sync):

def test_set_sms_region_property_and_check_that_sms_origin_was_updated(sinch_client_sync):
sinch_client_sync.configuration.sms_region = "pl"
assert "pl" in sinch_client_sync.configuration.sms_origin
assert "zt.pl.sms.api.sinch.com" == sinch_client_sync.configuration.sms_origin


def test_set_sms_domain_property_and_check_that_sms_origin_was_updated(sinch_client_sync):
sinch_client_sync.configuration.sms_domain = "monty.python"
assert "monty.python" in sinch_client_sync.configuration.sms_origin
sinch_client_sync.configuration.sms_domain = "{}.monty.python"
assert "us.monty.python" == sinch_client_sync.configuration.sms_origin


def test_set_sms_region_with_service_plan_id_property_and_check_that_sms_origin_was_updated(sinch_client_sync):
Expand Down

0 comments on commit 2f7267f

Please sign in to comment.