advanced-python-homework-2023/tests/for_equipment/test_turtle_device.py

13 lines
263 B
Python
Raw Normal View History

2023-10-13 22:33:07 +03:00
from unittest import TestCase
from equipment.turtle_device import TurtleDevice
class TurtleDeviceTest(TestCase):
def setUp(self) -> None:
self.device = TurtleDevice()
def test_open(self):
self.device.open()
self.device.close()