---
title: "Discussion on \"Testing SMS OTP in Python with pytest: Fake Provider, Frozen Clock, Rate Limits\" | Hashnode"
description: "Discussion on \"Testing SMS OTP in Python with pytest: Fake Provider, Frozen Clock, Rate Limits\". Test SMS OTP in Python with pytest: a fake SMS provider, frozen clocks with time-machine and freezegun, and rate-limit tests without sleeping."
url: "https://hashnode.com/posts/testing-sms-otp-python-pytest/6aee2b4495b47581d59f5718"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Testing SMS OTP in Python with pytest: Fake Provider, Frozen Clock, Rate Limits](https://tempsmss.hashnode.dev/testing-sms-otp-python-pytest?utm_source=hashnode&utm_medium=feed)

Test SMS OTP in Python with pytest: a fake SMS provider, frozen clocks with time-machine and freezegun, and rate-limit tests without sleeping.

Nov 6 · 6 min read · tempsmss.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#pytest](https://hashnode.com/tag/pytest)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Temp SMS](https://hashnode.com/@tempsmss)

@tempsmss

  
[View profile](https://hashnode.com/@tempsmss)

Guides on SMS verification, OTP testing and phone number privacy.

Temp SMS (https://tempsmss.com) lists free temporary phone numbers in the US, Canada, UK and Europe. Here we write practical guides on SMS verification, OTP testing for developers and keeping your phone number private.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
