mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 00:33:03 +08:00

* [Fix] Fix version function * Fix commit * Fix commit * fix code sync * Update coverage_run.sh --------- Co-authored-by: Jiang-Jia-Jun <jiangjiajun@baidu.com>
14 lines
230 B
Python
14 lines
230 B
Python
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()
|