|
OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
|
Classes | |
| class | BanlistTest |
Functions | |
| read (path, mode='r') | |
| entry (**extra) | |
| listing (entries=None, **extra) | |
Variables | |
| HERE = os.path.dirname(os.path.abspath(__file__)) | |
| TOOL = os.path.join(HERE, 'banlist.py') | |
| str | ID = 'P-ABCD-EFGH-IJKL-MNOP' |
Tests for banlist.py, the maintainers' tool for shared ban lists:
python3 -m unittest discover -s scripts -p 'test_*.py'
Needs the openssl CLI.
| test_banlist.entry | ( | ** | extra | ) |
| test_banlist.listing | ( | entries = None, | |
| ** | extra ) |
| test_banlist.read | ( | path, | |
| mode = 'r' ) |
| test_banlist.HERE = os.path.dirname(os.path.abspath(__file__)) |
| str test_banlist.ID = 'P-ABCD-EFGH-IJKL-MNOP' |
| test_banlist.TOOL = os.path.join(HERE, 'banlist.py') |