2021-02-24 10:55:56 +04:00
|
|
|
#!/usr/bin/env python2
|
2013-08-27 15:14:44 +04:00
|
|
|
# -*- 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()
|