Skip to content

Commit

Permalink
Enable sms tests
Browse files Browse the repository at this point in the history
  • Loading branch information
turalf committed Nov 13, 2020
1 parent 5f6e268 commit 7322a04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
ResponseReplacerProcessor
)

SKIP_PHONE_NUMBER_TESTS = False
PHONE_NUMBER_TEST_SKIP_REASON= "Phone Number infra for live tests not ready yet"

class SMSClientTest(CommunicationTestCase):
def __init__(self, method_name):
super(SMSClientTest, self).__init__(method_name)
Expand All @@ -37,7 +34,6 @@ def setUp(self):
self.sms_client = SmsClient.from_connection_string(self.connection_str)

@pytest.mark.live_test_only
@pytest.mark.skipif(SKIP_PHONE_NUMBER_TESTS, reason=PHONE_NUMBER_TEST_SKIP_REASON)
def test_send_sms(self):

# calling send() with sms values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
BodyReplacerProcessor, ResponseReplacerProcessor
)

SKIP_PHONE_NUMBER_TESTS = True
PHONE_NUMBER_TEST_SKIP_REASON= "Phone Number infra for live tests not ready yet"

class SMSClientTestAsync(AsyncCommunicationTestCase):
def __init__(self, method_name):
super(SMSClientTestAsync, self).__init__(method_name)
Expand All @@ -36,7 +33,6 @@ def setUp(self):

@AsyncCommunicationTestCase.await_prepared_test
@pytest.mark.live_test_only
@pytest.mark.skipif(SKIP_PHONE_NUMBER_TESTS, reason=PHONE_NUMBER_TEST_SKIP_REASON)
async def test_send_sms_async(self):

sms_client = SmsClient.from_connection_string(self.connection_str)
Expand Down

0 comments on commit 7322a04

Please sign in to comment.