mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-21 15:49:31 +08:00
Add stable ci (#3460)
* add stable ci * fix * update * fix * rename tests dir;fix stable ci bug * add timeout limit * update
This commit is contained in:
13
tests/utils/test_version.py
Normal file
13
tests/utils/test_version.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import unittest
|
||||
|
||||
import fastdeploy
|
||||
|
||||
|
||||
class TestVersion(unittest.TestCase):
|
||||
def test_get_version(self):
|
||||
ver = fastdeploy.version()
|
||||
assert ver.count("COMMIT") > 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
Reference in New Issue
Block a user