Skip to content

Commit d5ae91f

Browse files
committed
skip WIP tests
1 parent 0e05284 commit d5ae91f

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

tests/test_email.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from contiguity.email import Email
55
from tests import get_test_email
66

7+
pytest.skip("tests are WIP", allow_module_level=True)
8+
79

810
@pytest.fixture
911
def email() -> Email:

tests/test_imessage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from contiguity.imessage import IMessage
55
from tests import get_test_phone
66

7+
pytest.skip("tests are WIP", allow_module_level=True)
8+
79

810
@pytest.fixture
911
def imessage() -> IMessage:

tests/test_otp.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from contiguity.otp import OTP, OTPLanguage
55
from tests import get_test_phone
66

7+
pytest.skip("tests are WIP", allow_module_level=True)
8+
79

810
@pytest.fixture
911
def otp() -> OTP:
@@ -12,15 +14,7 @@ def otp() -> OTP:
1214

1315
def 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

tests/test_text.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from contiguity.text import Text
55
from tests import get_test_phone
66

7+
pytest.skip("tests are WIP", allow_module_level=True)
8+
79

810
@pytest.fixture
911
def text() -> Text:

tests/test_whatsapp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from contiguity.whatsapp import WhatsApp
55
from tests import get_test_phone
66

7+
pytest.skip("tests are WIP", allow_module_level=True)
8+
79

810
@pytest.fixture
911
def whatsapp() -> WhatsApp:

0 commit comments

Comments
 (0)