import unittest
import tornado.testing

TEST_MODULES = [
    "tests.test_http",
    "tests.test_config",
    "tests.test_proxy",
    "tests.layer.test_forward",
    "tests.layer.test_http1",
    "tests.layer.test_socks",
    "tests.viewer.test_tui"
]


def all():
    return unittest.defaultTestLoader.loadTestsFromNames(TEST_MODULES)

if __name__ == "__main__":
    tornado.testing.main()

import unittest
import tornado.testing

TEST_MODULES = [
    "tests.test_http",
    "tests.test_config",
    "tests.test_proxy",
    "tests.layer.test_forward",
    "tests.layer.test_http1",
    "tests.layer.test_socks",
    "tests.viewer.test_tui",
    "tests.viewer.test_console"
]


def all():
    return unittest.defaultTestLoader.loadTestsFromNames(TEST_MODULES)

if __name__ == "__main__":
    tornado.testing.main()

Add test_console module into run_tests.py