14 lines
409 B
Python
14 lines
409 B
Python
import unittest
|
|
from pathlib import Path
|
|
|
|
|
|
class ApiContractTest(unittest.TestCase):
|
|
"""Smoke tests are kept opt-in so importing the app never changes a user's dev DB."""
|
|
|
|
def test_contract_is_documented(self):
|
|
readme = Path(__file__).parents[3] / "README.md"
|
|
self.assertIn("шифруется в браузере", readme.read_text())
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|