21 lines
439 B
Python
Executable File
21 lines
439 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 mode: python -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
|
|
|
__all__ = ('suite',
|
|
)
|
|
|
|
from base import TC
|
|
from utools.base.control import Exit, exit
|
|
|
|
class ClassTest(TC):
|
|
def test_exit(self):
|
|
self.ex(Exit, exit)
|
|
|
|
def suite():
|
|
from base import TestLoader
|
|
return TestLoader().loadTestsFromTestCase(ClassTest)
|
|
|
|
if __name__ == '__main__':
|
|
from base import main
|
|
main()
|