diff options
Diffstat (limited to 'tst')
-rw-r--r-- | tst/test_check.py | 17 | ||||
-rw-r--r-- | tst/test_help.py | 17 | ||||
-rw-r--r-- | tst/test_listen.py | 17 |
3 files changed, 6 insertions, 45 deletions
diff --git a/tst/test_check.py b/tst/test_check.py index 4b2c955..b07259f 100644 --- a/tst/test_check.py +++ b/tst/test_check.py @@ -1,20 +1,7 @@ # Tests for the TLS client -# Copyright (C) 2025 Nguyễn Gia Phong # -# This file is part of scadere. -# -# Scadere is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scadere is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with scadere. If not, see <https://www.gnu.org/licenses/>. +# SPDX-FileCopyrightText: 2025 Nguyễn Gia Phong +# SPDX-License-Identifier: AGPL-3.0-or-later from asyncio import get_running_loop, start_server from datetime import datetime, timedelta, timezone diff --git a/tst/test_help.py b/tst/test_help.py index 630fff1..544e731 100644 --- a/tst/test_help.py +++ b/tst/test_help.py @@ -1,20 +1,7 @@ # Tests for CLI help formatting -# Copyright (C) 2025 Nguyễn Gia Phong # -# This file is part of scadere. -# -# Scadere is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scadere is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with scadere. If not, see <https://www.gnu.org/licenses/>. +# SPDX-FileCopyrightText: 2025 Nguyễn Gia Phong +# SPDX-License-Identifier: AGPL-3.0-or-later from contextlib import redirect_stdout, suppress from io import StringIO diff --git a/tst/test_listen.py b/tst/test_listen.py index cf47ab7..bab9072 100644 --- a/tst/test_listen.py +++ b/tst/test_listen.py @@ -1,20 +1,7 @@ # Tests for the HTTP server -# Copyright (C) 2025 Nguyễn Gia Phong # -# This file is part of scadere. -# -# Scadere is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Scadere is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with scadere. If not, see <https://www.gnu.org/licenses/>. +# SPDX-FileCopyrightText: 2025 Nguyễn Gia Phong +# SPDX-License-Identifier: AGPL-3.0-or-later from asyncio import open_unix_connection, start_unix_server from contextlib import asynccontextmanager, contextmanager |