Code Review
/
releng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
add unittest framework for supporting unittest in testAPI
[releng.git]
/
utils
/
test
/
result_collection_api
/
tests
/
unit
/
test_version.py
1
import unittest
2
3
from test_base import TestBase
4
5
__author__ = 'serena'
6
7
8
class TestVersion(TestBase):
9
def test_get_version(self):
10
response = self.fetch('/version')
11
self.assertEqual(response.code, 200)
12
13
if __name__ == '__main__':
14
unittest.main()