refactor: convert script to automtu package with CI workflow
https://chatgpt.com/share/697112b2-0410-800f-93ff-9372b603d43f
This commit is contained in:
14
tests/unit/test___init__.py
Normal file
14
tests/unit/test___init__.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import unittest
|
||||
|
||||
import automtu
|
||||
|
||||
|
||||
class TestInit(unittest.TestCase):
|
||||
def test_version_is_exposed(self) -> None:
|
||||
self.assertTrue(hasattr(automtu, "__version__"))
|
||||
self.assertIsInstance(automtu.__version__, str)
|
||||
self.assertRegex(automtu.__version__, r"^\d+\.\d+\.\d+$")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main(verbosity=2)
|
||||
Reference in New Issue
Block a user