diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-02-14 17:14:16 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-02-14 17:14:16 +0300 |
commit | ee39da0e00423d2e4f109f90142c3543e819c14d (patch) | |
tree | b08346f2f11f25ed6bc5438eb81795c2666df549 /test/test_python_atexit.py | |
parent | 27b00629e1e3af2f8b84aa349351df50f05f3c83 (diff) | |
download | unit-ee39da0e00423d2e4f109f90142c3543e819c14d.tar.gz unit-ee39da0e00423d2e4f109f90142c3543e819c14d.tar.bz2 |
Tests: removed unused code in unit.py.
Diffstat (limited to 'test/test_python_atexit.py')
-rw-r--r-- | test/test_python_atexit.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/test_python_atexit.py b/test/test_python_atexit.py index b0cb6c34..b41a80db 100644 --- a/test/test_python_atexit.py +++ b/test/test_python_atexit.py @@ -3,15 +3,12 @@ import time import unittest import unit -class TestUnitApplication(unit.TestUnitControl): +class TestUnitPythonAtExit(unit.TestUnitControl): def setUpClass(): - u = unit.TestUnit() + unit.TestUnit().check_modules('python') - u.check_modules('python') - u.check_version('0.5') - - def test_python_application(self): + def test_python_atexit(self): code, name = """ import atexit |