File: test_unitest_module_invocation.py

package info (click to toggle)
python-aiounittest 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: python: 436; makefile: 200; sh: 5
file content (8 lines) | stat: -rw-r--r-- 209 bytes parent folder | download
1
2
3
4
5
6
7
8
import sys
from unittest.main import main


def test_specific_test():
    sys.argv = ['TEST']
    sys.argv.append('test_asynctestcase.TestAsyncCase.test_await_async_add')
    a = main(module=None, exit=False)