pyvariot/tests/test_web.py

16 lines
330 B
Python
Raw Normal View History

2024-06-07 09:07:52 +00:00
#!/usr/bin/env python3
import unittest
from pyproject import PyProject
class TestBasic(unittest.TestCase):
def setUp(self) -> None:
self.client = PyProject(root_url="http://127.0.0.1:9999")
def test_up(self) -> None:
self.assertTrue(self.client.is_up)
self.assertTrue(self.client.redis_up())