File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44from contiguity .email import Email
55from tests import get_test_email
66
7+ pytest .skip ("tests are WIP" , allow_module_level = True )
8+
79
810@pytest .fixture
911def email () -> Email :
Original file line number Diff line number Diff line change 44from contiguity .imessage import IMessage
55from tests import get_test_phone
66
7+ pytest .skip ("tests are WIP" , allow_module_level = True )
8+
79
810@pytest .fixture
911def imessage () -> IMessage :
Original file line number Diff line number Diff line change 44from contiguity .otp import OTP , OTPLanguage
55from tests import get_test_phone
66
7+ pytest .skip ("tests are WIP" , allow_module_level = True )
8+
79
810@pytest .fixture
911def otp () -> OTP :
@@ -12,15 +14,7 @@ def otp() -> OTP:
1214
1315def test_send_otp_basic (otp : OTP ) -> None :
1416 """Test sending a basic OTP."""
15- result = otp .send (get_test_phone ())
16-
17- assert result .otp_id
18- assert result .metadata
19-
20-
21- def test_send_otp_with_name (otp : OTP ) -> None :
22- """Test sending an OTP with a custom name."""
23- result = otp .send (get_test_phone (), name = "PyTest App" )
17+ result = otp .send (get_test_phone (), name = "Python SDK Test" )
2418
2519 assert result .otp_id
2620 assert result .metadata
Original file line number Diff line number Diff line change 44from contiguity .text import Text
55from tests import get_test_phone
66
7+ pytest .skip ("tests are WIP" , allow_module_level = True )
8+
79
810@pytest .fixture
911def text () -> Text :
Original file line number Diff line number Diff line change 44from contiguity .whatsapp import WhatsApp
55from tests import get_test_phone
66
7+ pytest .skip ("tests are WIP" , allow_module_level = True )
8+
79
810@pytest .fixture
911def whatsapp () -> WhatsApp :
You can’t perform that action at this time.
0 commit comments