diff --git a/gvm/__init__.py b/gvm/__init__.py index d1e0ee759..c2816af30 100644 --- a/gvm/__init__.py +++ b/gvm/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Main module of python-gvm. """ diff --git a/gvm/__version__.py b/gvm/__version__.py index 442ff2c08..d66a4f717 100644 --- a/gvm/__version__.py +++ b/gvm/__version__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # pylint: disable=invalid-name # THIS IS AN AUTOGENERATED FILE. DO NOT TOUCH! diff --git a/gvm/connections.py b/gvm/connections.py index be4bff82d..c86c69436 100644 --- a/gvm/connections.py +++ b/gvm/connections.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Module for connections to GVM server daemons like gvmd and ospd. """ diff --git a/gvm/errors.py b/gvm/errors.py index ca042e2ee..2b809ba51 100644 --- a/gvm/errors.py +++ b/gvm/errors.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Module for GVM errors """ diff --git a/gvm/protocols/__init__.py b/gvm/protocols/__init__.py index 373a6b9d5..f6f46a71b 100644 --- a/gvm/protocols/__init__.py +++ b/gvm/protocols/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Package for supported Greenbone Protocol versions. diff --git a/gvm/protocols/base.py b/gvm/protocols/base.py index 6b042c87d..e118ef888 100644 --- a/gvm/protocols/base.py +++ b/gvm/protocols/base.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Callable, Optional diff --git a/gvm/protocols/gmp.py b/gvm/protocols/gmp.py index 781ef717d..d5b04483d 100644 --- a/gvm/protocols/gmp.py +++ b/gvm/protocols/gmp.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Module for communication with gvmd diff --git a/gvm/protocols/gmpv208/__init__.py b/gvm/protocols/gmpv208/__init__.py index b1c81fc45..5645093c9 100644 --- a/gvm/protocols/gmpv208/__init__.py +++ b/gvm/protocols/gmpv208/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=too-many-lines,redefined-builtin """ diff --git a/gvm/protocols/gmpv208/entities/__init__.py b/gvm/protocols/gmpv208/entities/__init__.py index 6384df79b..bcfceaa60 100644 --- a/gvm/protocols/gmpv208/entities/__init__.py +++ b/gvm/protocols/gmpv208/entities/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/gvm/protocols/gmpv208/entities/alerts.py b/gvm/protocols/gmpv208/entities/alerts.py index 2c7b50f0d..6e4e5605f 100644 --- a/gvm/protocols/gmpv208/entities/alerts.py +++ b/gvm/protocols/gmpv208/entities/alerts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional, Union diff --git a/gvm/protocols/gmpv208/entities/audits.py b/gvm/protocols/gmpv208/entities/audits.py index 6e6379d35..b936f0bcc 100644 --- a/gvm/protocols/gmpv208/entities/audits.py +++ b/gvm/protocols/gmpv208/entities/audits.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from collections.abc import Mapping diff --git a/gvm/protocols/gmpv208/entities/credentials.py b/gvm/protocols/gmpv208/entities/credentials.py index 06aacd95d..23f61792a 100644 --- a/gvm/protocols/gmpv208/entities/credentials.py +++ b/gvm/protocols/gmpv208/entities/credentials.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv208/entities/entities.py b/gvm/protocols/gmpv208/entities/entities.py index f335cfbcd..0e2f8a970 100644 --- a/gvm/protocols/gmpv208/entities/entities.py +++ b/gvm/protocols/gmpv208/entities/entities.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv208/entities/filter.py b/gvm/protocols/gmpv208/entities/filter.py index dfed9697e..1711a97d9 100644 --- a/gvm/protocols/gmpv208/entities/filter.py +++ b/gvm/protocols/gmpv208/entities/filter.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/groups.py b/gvm/protocols/gmpv208/entities/groups.py index 594a83493..c0978445b 100644 --- a/gvm/protocols/gmpv208/entities/groups.py +++ b/gvm/protocols/gmpv208/entities/groups.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional diff --git a/gvm/protocols/gmpv208/entities/hosts.py b/gvm/protocols/gmpv208/entities/hosts.py index c33884479..682e37abc 100644 --- a/gvm/protocols/gmpv208/entities/hosts.py +++ b/gvm/protocols/gmpv208/entities/hosts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv208/entities/notes.py b/gvm/protocols/gmpv208/entities/notes.py index b33e2d58f..2297b1f66 100644 --- a/gvm/protocols/gmpv208/entities/notes.py +++ b/gvm/protocols/gmpv208/entities/notes.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional diff --git a/gvm/protocols/gmpv208/entities/operating_systems.py b/gvm/protocols/gmpv208/entities/operating_systems.py index d1091d3a6..9c866cba0 100644 --- a/gvm/protocols/gmpv208/entities/operating_systems.py +++ b/gvm/protocols/gmpv208/entities/operating_systems.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/overrides.py b/gvm/protocols/gmpv208/entities/overrides.py index ec8618d22..15c667485 100644 --- a/gvm/protocols/gmpv208/entities/overrides.py +++ b/gvm/protocols/gmpv208/entities/overrides.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional diff --git a/gvm/protocols/gmpv208/entities/permissions.py b/gvm/protocols/gmpv208/entities/permissions.py index ab1149f3a..0a115973e 100644 --- a/gvm/protocols/gmpv208/entities/permissions.py +++ b/gvm/protocols/gmpv208/entities/permissions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/policies.py b/gvm/protocols/gmpv208/entities/policies.py index f6ce151bc..d01643ca7 100644 --- a/gvm/protocols/gmpv208/entities/policies.py +++ b/gvm/protocols/gmpv208/entities/policies.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional, Tuple diff --git a/gvm/protocols/gmpv208/entities/port_lists.py b/gvm/protocols/gmpv208/entities/port_lists.py index bc9eaa8f3..37f3ac6c9 100644 --- a/gvm/protocols/gmpv208/entities/port_lists.py +++ b/gvm/protocols/gmpv208/entities/port_lists.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv208/entities/report_formats.py b/gvm/protocols/gmpv208/entities/report_formats.py index a52fa0b86..7ae27fbec 100644 --- a/gvm/protocols/gmpv208/entities/report_formats.py +++ b/gvm/protocols/gmpv208/entities/report_formats.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional, Union diff --git a/gvm/protocols/gmpv208/entities/reports.py b/gvm/protocols/gmpv208/entities/reports.py index aff00abb1..e0656fced 100644 --- a/gvm/protocols/gmpv208/entities/reports.py +++ b/gvm/protocols/gmpv208/entities/reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Optional, Union diff --git a/gvm/protocols/gmpv208/entities/results.py b/gvm/protocols/gmpv208/entities/results.py index 62cff4174..115ed9c4a 100644 --- a/gvm/protocols/gmpv208/entities/results.py +++ b/gvm/protocols/gmpv208/entities/results.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/roles.py b/gvm/protocols/gmpv208/entities/roles.py index 6b4b555f0..1aa809b3e 100644 --- a/gvm/protocols/gmpv208/entities/roles.py +++ b/gvm/protocols/gmpv208/entities/roles.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional diff --git a/gvm/protocols/gmpv208/entities/scan_configs.py b/gvm/protocols/gmpv208/entities/scan_configs.py index 41381a6d7..ecc1fbee5 100644 --- a/gvm/protocols/gmpv208/entities/scan_configs.py +++ b/gvm/protocols/gmpv208/entities/scan_configs.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional, Tuple diff --git a/gvm/protocols/gmpv208/entities/scanners.py b/gvm/protocols/gmpv208/entities/scanners.py index 1dd7128db..f9f296753 100644 --- a/gvm/protocols/gmpv208/entities/scanners.py +++ b/gvm/protocols/gmpv208/entities/scanners.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/schedules.py b/gvm/protocols/gmpv208/entities/schedules.py index 0f55445d0..0a15a6617 100644 --- a/gvm/protocols/gmpv208/entities/schedules.py +++ b/gvm/protocols/gmpv208/entities/schedules.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/secinfo.py b/gvm/protocols/gmpv208/entities/secinfo.py index d9cb99670..749c7c867 100644 --- a/gvm/protocols/gmpv208/entities/secinfo.py +++ b/gvm/protocols/gmpv208/entities/secinfo.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/severity.py b/gvm/protocols/gmpv208/entities/severity.py index cc518514a..721070946 100644 --- a/gvm/protocols/gmpv208/entities/severity.py +++ b/gvm/protocols/gmpv208/entities/severity.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv208/entities/tags.py b/gvm/protocols/gmpv208/entities/tags.py index c5c7cc0e3..cc45c462d 100644 --- a/gvm/protocols/gmpv208/entities/tags.py +++ b/gvm/protocols/gmpv208/entities/tags.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional diff --git a/gvm/protocols/gmpv208/entities/targets.py b/gvm/protocols/gmpv208/entities/targets.py index bf52c11bf..fcbb9e8fb 100644 --- a/gvm/protocols/gmpv208/entities/targets.py +++ b/gvm/protocols/gmpv208/entities/targets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv208/entities/tasks.py b/gvm/protocols/gmpv208/entities/tasks.py index fc0b7111b..cb4c9690a 100644 --- a/gvm/protocols/gmpv208/entities/tasks.py +++ b/gvm/protocols/gmpv208/entities/tasks.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from collections.abc import Mapping diff --git a/gvm/protocols/gmpv208/entities/tickets.py b/gvm/protocols/gmpv208/entities/tickets.py index 1dfe29cfa..39f7a734c 100644 --- a/gvm/protocols/gmpv208/entities/tickets.py +++ b/gvm/protocols/gmpv208/entities/tickets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/tls_certificates.py b/gvm/protocols/gmpv208/entities/tls_certificates.py index 1b85fd057..729c2f67d 100644 --- a/gvm/protocols/gmpv208/entities/tls_certificates.py +++ b/gvm/protocols/gmpv208/entities/tls_certificates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/entities/users.py b/gvm/protocols/gmpv208/entities/users.py index 0bce1f5c8..a7b8439f0 100644 --- a/gvm/protocols/gmpv208/entities/users.py +++ b/gvm/protocols/gmpv208/entities/users.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv208/entities/vulnerabilities.py b/gvm/protocols/gmpv208/entities/vulnerabilities.py index d2eefe1eb..199882500 100644 --- a/gvm/protocols/gmpv208/entities/vulnerabilities.py +++ b/gvm/protocols/gmpv208/entities/vulnerabilities.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/system/__init__.py b/gvm/protocols/gmpv208/system/__init__.py index 6384df79b..bcfceaa60 100644 --- a/gvm/protocols/gmpv208/system/__init__.py +++ b/gvm/protocols/gmpv208/system/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/gvm/protocols/gmpv208/system/aggregates.py b/gvm/protocols/gmpv208/system/aggregates.py index 6ca3ef761..a4a2d067f 100644 --- a/gvm/protocols/gmpv208/system/aggregates.py +++ b/gvm/protocols/gmpv208/system/aggregates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/system/authentication.py b/gvm/protocols/gmpv208/system/authentication.py index aa6a2937d..7a25d504c 100644 --- a/gvm/protocols/gmpv208/system/authentication.py +++ b/gvm/protocols/gmpv208/system/authentication.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any diff --git a/gvm/protocols/gmpv208/system/feed.py b/gvm/protocols/gmpv208/system/feed.py index 8fe52d042..e5d06645e 100644 --- a/gvm/protocols/gmpv208/system/feed.py +++ b/gvm/protocols/gmpv208/system/feed.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv208/system/help.py b/gvm/protocols/gmpv208/system/help.py index e5466339f..8194033c4 100644 --- a/gvm/protocols/gmpv208/system/help.py +++ b/gvm/protocols/gmpv208/system/help.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/system/system_reports.py b/gvm/protocols/gmpv208/system/system_reports.py index fb4533a0f..181e457f9 100644 --- a/gvm/protocols/gmpv208/system/system_reports.py +++ b/gvm/protocols/gmpv208/system/system_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=arguments-differ, redefined-builtin, too-many-lines diff --git a/gvm/protocols/gmpv208/system/trashcan.py b/gvm/protocols/gmpv208/system/trashcan.py index c4c94a992..1ec0b9e6b 100644 --- a/gvm/protocols/gmpv208/system/trashcan.py +++ b/gvm/protocols/gmpv208/system/trashcan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any diff --git a/gvm/protocols/gmpv208/system/user_settings.py b/gvm/protocols/gmpv208/system/user_settings.py index 6fd98eb80..ac9fc8629 100644 --- a/gvm/protocols/gmpv208/system/user_settings.py +++ b/gvm/protocols/gmpv208/system/user_settings.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Optional diff --git a/gvm/protocols/gmpv208/system/version.py b/gvm/protocols/gmpv208/system/version.py index 219caa410..105f1abb3 100644 --- a/gvm/protocols/gmpv208/system/version.py +++ b/gvm/protocols/gmpv208/system/version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any diff --git a/gvm/protocols/gmpv214/__init__.py b/gvm/protocols/gmpv214/__init__.py index af21c8be7..57b559f2a 100644 --- a/gvm/protocols/gmpv214/__init__.py +++ b/gvm/protocols/gmpv214/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=too-many-lines,redefined-builtin diff --git a/gvm/protocols/gmpv214/entities/__init__.py b/gvm/protocols/gmpv214/entities/__init__.py index 6384df79b..bcfceaa60 100644 --- a/gvm/protocols/gmpv214/entities/__init__.py +++ b/gvm/protocols/gmpv214/entities/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/gvm/protocols/gmpv214/entities/notes.py b/gvm/protocols/gmpv214/entities/notes.py index 14d35759a..bfaefa2ce 100644 --- a/gvm/protocols/gmpv214/entities/notes.py +++ b/gvm/protocols/gmpv214/entities/notes.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional diff --git a/gvm/protocols/gmpv214/entities/overrides.py b/gvm/protocols/gmpv214/entities/overrides.py index e65aff152..550b87032 100644 --- a/gvm/protocols/gmpv214/entities/overrides.py +++ b/gvm/protocols/gmpv214/entities/overrides.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional diff --git a/gvm/protocols/gmpv214/entities/scanners.py b/gvm/protocols/gmpv214/entities/scanners.py index cfe77b80e..47845d6da 100644 --- a/gvm/protocols/gmpv214/entities/scanners.py +++ b/gvm/protocols/gmpv214/entities/scanners.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv214/entities/targets.py b/gvm/protocols/gmpv214/entities/targets.py index cb23c2e57..361e4b3c4 100644 --- a/gvm/protocols/gmpv214/entities/targets.py +++ b/gvm/protocols/gmpv214/entities/targets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=arguments-differ, unused-import diff --git a/gvm/protocols/gmpv214/entities/users.py b/gvm/protocols/gmpv214/entities/users.py index 34e1b043f..31a2264a6 100644 --- a/gvm/protocols/gmpv214/entities/users.py +++ b/gvm/protocols/gmpv214/entities/users.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=arguments-differ, arguments-renamed diff --git a/gvm/protocols/gmpv214/system/__init__.py b/gvm/protocols/gmpv214/system/__init__.py index 6384df79b..bcfceaa60 100644 --- a/gvm/protocols/gmpv214/system/__init__.py +++ b/gvm/protocols/gmpv214/system/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/gvm/protocols/gmpv214/system/version.py b/gvm/protocols/gmpv214/system/version.py index cc09d6ba6..c78b4be64 100644 --- a/gvm/protocols/gmpv214/system/version.py +++ b/gvm/protocols/gmpv214/system/version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv208.system.version import ( diff --git a/gvm/protocols/gmpv224/__init__.py b/gvm/protocols/gmpv224/__init__.py index f0147aba6..9e269a92d 100644 --- a/gvm/protocols/gmpv224/__init__.py +++ b/gvm/protocols/gmpv224/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=too-many-lines,redefined-builtin diff --git a/gvm/protocols/gmpv224/entities/__init__.py b/gvm/protocols/gmpv224/entities/__init__.py index 6384df79b..bcfceaa60 100644 --- a/gvm/protocols/gmpv224/entities/__init__.py +++ b/gvm/protocols/gmpv224/entities/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/gvm/protocols/gmpv224/entities/scan_configs.py b/gvm/protocols/gmpv224/entities/scan_configs.py index 59eaf8933..1b41ee426 100644 --- a/gvm/protocols/gmpv224/entities/scan_configs.py +++ b/gvm/protocols/gmpv224/entities/scan_configs.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, List, Optional, Tuple diff --git a/gvm/protocols/gmpv224/entities/scanners.py b/gvm/protocols/gmpv224/entities/scanners.py index 546d7f201..2b290c6df 100644 --- a/gvm/protocols/gmpv224/entities/scanners.py +++ b/gvm/protocols/gmpv224/entities/scanners.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv224/entities/users.py b/gvm/protocols/gmpv224/entities/users.py index 1f0e0200a..39333bf3a 100644 --- a/gvm/protocols/gmpv224/entities/users.py +++ b/gvm/protocols/gmpv224/entities/users.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=arguments-differ, arguments-renamed diff --git a/gvm/protocols/gmpv224/system/__init__.py b/gvm/protocols/gmpv224/system/__init__.py index 6384df79b..bcfceaa60 100644 --- a/gvm/protocols/gmpv224/system/__init__.py +++ b/gvm/protocols/gmpv224/system/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/gvm/protocols/gmpv224/system/version.py b/gvm/protocols/gmpv224/system/version.py index 8c2bf85bc..c16c766b5 100644 --- a/gvm/protocols/gmpv224/system/version.py +++ b/gvm/protocols/gmpv224/system/version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv208.system.version import ( diff --git a/gvm/protocols/gmpv225/__init__.py b/gvm/protocols/gmpv225/__init__.py index 0e99e3f77..7a74fa42b 100644 --- a/gvm/protocols/gmpv225/__init__.py +++ b/gvm/protocols/gmpv225/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=too-many-lines,redefined-builtin diff --git a/gvm/protocols/gmpv225/entities/__init__.py b/gvm/protocols/gmpv225/entities/__init__.py index 8c5feab1c..baae7654d 100644 --- a/gvm/protocols/gmpv225/entities/__init__.py +++ b/gvm/protocols/gmpv225/entities/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/gvm/protocols/gmpv225/entities/resourcenames.py b/gvm/protocols/gmpv225/entities/resourcenames.py index 35a7acc08..4ca35ea21 100644 --- a/gvm/protocols/gmpv225/entities/resourcenames.py +++ b/gvm/protocols/gmpv225/entities/resourcenames.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum diff --git a/gvm/protocols/gmpv225/system/__init__.py b/gvm/protocols/gmpv225/system/__init__.py index 8c5feab1c..baae7654d 100644 --- a/gvm/protocols/gmpv225/system/__init__.py +++ b/gvm/protocols/gmpv225/system/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/gvm/protocols/gmpv225/system/version.py b/gvm/protocols/gmpv225/system/version.py index 251cee45e..190480ff1 100644 --- a/gvm/protocols/gmpv225/system/version.py +++ b/gvm/protocols/gmpv225/system/version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv208.system.version import ( diff --git a/gvm/protocols/latest.py b/gvm/protocols/latest.py index ec6c438b5..35ab346aa 100644 --- a/gvm/protocols/latest.py +++ b/gvm/protocols/latest.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """Latest supported protocols, including unstable ones. This module exposes the latest supported protocols of GVM including versions diff --git a/gvm/protocols/next.py b/gvm/protocols/next.py index ec6c438b5..35ab346aa 100644 --- a/gvm/protocols/next.py +++ b/gvm/protocols/next.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """Latest supported protocols, including unstable ones. This module exposes the latest supported protocols of GVM including versions diff --git a/gvm/protocols/ospv1.py b/gvm/protocols/ospv1.py index b25a321f3..77033b17a 100644 --- a/gvm/protocols/ospv1.py +++ b/gvm/protocols/ospv1.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Module for communication to a daemon speaking `Open Scanner Protocol version 1`_ diff --git a/gvm/transforms.py b/gvm/transforms.py index 3ff6766f4..bb5a12453 100644 --- a/gvm/transforms.py +++ b/gvm/transforms.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Module for transforming responses """ diff --git a/gvm/utils.py b/gvm/utils.py index caab74bd7..500af42b5 100644 --- a/gvm/utils.py +++ b/gvm/utils.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=arguments-differ, redefined-builtin diff --git a/gvm/xml.py b/gvm/xml.py index 44db06101..5d4cc7392 100644 --- a/gvm/xml.py +++ b/gvm/xml.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import sys from io import IOBase diff --git a/tests/__init__.py b/tests/__init__.py index 8c0f7d6d5..f4a87857e 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class CallableMock: diff --git a/tests/connections/__init__.py b/tests/connections/__init__.py index 83e70fa0a..cf8433bf8 100644 --- a/tests/connections/__init__.py +++ b/tests/connections/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/connections/test_gvm_connection.py b/tests/connections/test_gvm_connection.py index 0cbb6afb1..607ec4b3d 100644 --- a/tests/connections/test_gvm_connection.py +++ b/tests/connections/test_gvm_connection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from unittest.mock import patch diff --git a/tests/connections/test_ssh_connection.py b/tests/connections/test_ssh_connection.py index dcf1527eb..029e7922d 100644 --- a/tests/connections/test_ssh_connection.py +++ b/tests/connections/test_ssh_connection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os import unittest diff --git a/tests/connections/test_tls_connection.py b/tests/connections/test_tls_connection.py index f67ea3e81..f479f16da 100644 --- a/tests/connections/test_tls_connection.py +++ b/tests/connections/test_tls_connection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from unittest.mock import Mock, patch diff --git a/tests/connections/test_unix_socket_connection.py b/tests/connections/test_unix_socket_connection.py index f41267088..478928edd 100644 --- a/tests/connections/test_unix_socket_connection.py +++ b/tests/connections/test_unix_socket_connection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os import socketserver diff --git a/tests/protocols/__init__.py b/tests/protocols/__init__.py index 3626424e4..fc7f7d935 100644 --- a/tests/protocols/__init__.py +++ b/tests/protocols/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmp/__init__.py b/tests/protocols/gmp/__init__.py index 26c08a944..9104ba9ff 100644 --- a/tests/protocols/gmp/__init__.py +++ b/tests/protocols/gmp/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmp/test_context_manager.py b/tests/protocols/gmp/test_context_manager.py index c6a1081e0..ef7cc99d1 100644 --- a/tests/protocols/gmp/test_context_manager.py +++ b/tests/protocols/gmp/test_context_manager.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from unittest.mock import MagicMock, patch diff --git a/tests/protocols/gmpv208/__init__.py b/tests/protocols/gmpv208/__init__.py index cff829324..ae92608b6 100644 --- a/tests/protocols/gmpv208/__init__.py +++ b/tests/protocols/gmpv208/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv208 import Gmp diff --git a/tests/protocols/gmpv208/entities/__init__.py b/tests/protocols/gmpv208/entities/__init__.py index 6384df79b..bcfceaa60 100644 --- a/tests/protocols/gmpv208/entities/__init__.py +++ b/tests/protocols/gmpv208/entities/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv208/entities/alerts/__init__.py b/tests/protocols/gmpv208/entities/alerts/__init__.py index dd643dd65..73ee227f4 100644 --- a/tests/protocols/gmpv208/entities/alerts/__init__.py +++ b/tests/protocols/gmpv208/entities/alerts/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_alert import GmpCloneAlertTestMixin from .test_create_alert import GmpCreateAlertTestMixin diff --git a/tests/protocols/gmpv208/entities/alerts/test_clone_alert.py b/tests/protocols/gmpv208/entities/alerts/test_clone_alert.py index 29dae9876..44262c57c 100644 --- a/tests/protocols/gmpv208/entities/alerts/test_clone_alert.py +++ b/tests/protocols/gmpv208/entities/alerts/test_clone_alert.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/alerts/test_create_alert.py b/tests/protocols/gmpv208/entities/alerts/test_create_alert.py index dd4c32cb7..40afa8c78 100644 --- a/tests/protocols/gmpv208/entities/alerts/test_create_alert.py +++ b/tests/protocols/gmpv208/entities/alerts/test_create_alert.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import AlertCondition, AlertEvent, AlertMethod diff --git a/tests/protocols/gmpv208/entities/alerts/test_delete_alert.py b/tests/protocols/gmpv208/entities/alerts/test_delete_alert.py index bc516075e..4cef4e2bd 100644 --- a/tests/protocols/gmpv208/entities/alerts/test_delete_alert.py +++ b/tests/protocols/gmpv208/entities/alerts/test_delete_alert.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/alerts/test_get_alert.py b/tests/protocols/gmpv208/entities/alerts/test_get_alert.py index a5c8bb279..da9aade57 100644 --- a/tests/protocols/gmpv208/entities/alerts/test_get_alert.py +++ b/tests/protocols/gmpv208/entities/alerts/test_get_alert.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/alerts/test_get_alerts.py b/tests/protocols/gmpv208/entities/alerts/test_get_alerts.py index e636a8b91..519e12fa7 100644 --- a/tests/protocols/gmpv208/entities/alerts/test_get_alerts.py +++ b/tests/protocols/gmpv208/entities/alerts/test_get_alerts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetAlertsTestMixin: diff --git a/tests/protocols/gmpv208/entities/alerts/test_modify_alert.py b/tests/protocols/gmpv208/entities/alerts/test_modify_alert.py index a2c135afd..e951c485e 100644 --- a/tests/protocols/gmpv208/entities/alerts/test_modify_alert.py +++ b/tests/protocols/gmpv208/entities/alerts/test_modify_alert.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import AlertCondition, AlertEvent, AlertMethod diff --git a/tests/protocols/gmpv208/entities/alerts/test_test_alert.py b/tests/protocols/gmpv208/entities/alerts/test_test_alert.py index 3b21caa79..33fa86e3a 100644 --- a/tests/protocols/gmpv208/entities/alerts/test_test_alert.py +++ b/tests/protocols/gmpv208/entities/alerts/test_test_alert.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/alerts/test_trigger_alert.py b/tests/protocols/gmpv208/entities/alerts/test_trigger_alert.py index 89dada1b9..090d3cd34 100644 --- a/tests/protocols/gmpv208/entities/alerts/test_trigger_alert.py +++ b/tests/protocols/gmpv208/entities/alerts/test_trigger_alert.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument from gvm.protocols.gmpv208.entities.report_formats import ReportFormatType diff --git a/tests/protocols/gmpv208/entities/audits/__init__.py b/tests/protocols/gmpv208/entities/audits/__init__.py index b1d179ea2..561cfe36b 100644 --- a/tests/protocols/gmpv208/entities/audits/__init__.py +++ b/tests/protocols/gmpv208/entities/audits/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_audit import GmpCloneAuditTestMixin from .test_create_audit import GmpCreateAuditTestMixin diff --git a/tests/protocols/gmpv208/entities/audits/test_clone_audit.py b/tests/protocols/gmpv208/entities/audits/test_clone_audit.py index e55fb02f9..9a9d34247 100644 --- a/tests/protocols/gmpv208/entities/audits/test_clone_audit.py +++ b/tests/protocols/gmpv208/entities/audits/test_clone_audit.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/audits/test_create_audit.py b/tests/protocols/gmpv208/entities/audits/test_create_audit.py index d00456297..1bd1ceeb0 100644 --- a/tests/protocols/gmpv208/entities/audits/test_create_audit.py +++ b/tests/protocols/gmpv208/entities/audits/test_create_audit.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from collections import OrderedDict diff --git a/tests/protocols/gmpv208/entities/audits/test_delete_audit.py b/tests/protocols/gmpv208/entities/audits/test_delete_audit.py index ddbcfb0df..73ca10fc2 100644 --- a/tests/protocols/gmpv208/entities/audits/test_delete_audit.py +++ b/tests/protocols/gmpv208/entities/audits/test_delete_audit.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/audits/test_get_audit.py b/tests/protocols/gmpv208/entities/audits/test_get_audit.py index 5f4d638fa..edd94c44f 100644 --- a/tests/protocols/gmpv208/entities/audits/test_get_audit.py +++ b/tests/protocols/gmpv208/entities/audits/test_get_audit.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/audits/test_get_audits.py b/tests/protocols/gmpv208/entities/audits/test_get_audits.py index 25919f75b..8dd1d8ee8 100644 --- a/tests/protocols/gmpv208/entities/audits/test_get_audits.py +++ b/tests/protocols/gmpv208/entities/audits/test_get_audits.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetAuditsTestMixin: diff --git a/tests/protocols/gmpv208/entities/audits/test_modify_audit.py b/tests/protocols/gmpv208/entities/audits/test_modify_audit.py index 68e607339..1e61b87ac 100644 --- a/tests/protocols/gmpv208/entities/audits/test_modify_audit.py +++ b/tests/protocols/gmpv208/entities/audits/test_modify_audit.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from collections import OrderedDict diff --git a/tests/protocols/gmpv208/entities/audits/test_resume_audit.py b/tests/protocols/gmpv208/entities/audits/test_resume_audit.py index aab5ad789..854ced0e0 100644 --- a/tests/protocols/gmpv208/entities/audits/test_resume_audit.py +++ b/tests/protocols/gmpv208/entities/audits/test_resume_audit.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/audits/test_start_audit.py b/tests/protocols/gmpv208/entities/audits/test_start_audit.py index 1e730e644..ec8176f10 100644 --- a/tests/protocols/gmpv208/entities/audits/test_start_audit.py +++ b/tests/protocols/gmpv208/entities/audits/test_start_audit.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/audits/test_stop_audit.py b/tests/protocols/gmpv208/entities/audits/test_stop_audit.py index 3a3542f6c..0c8989292 100644 --- a/tests/protocols/gmpv208/entities/audits/test_stop_audit.py +++ b/tests/protocols/gmpv208/entities/audits/test_stop_audit.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/credentials/__init__.py b/tests/protocols/gmpv208/entities/credentials/__init__.py index 4b96b87e0..979a444f0 100644 --- a/tests/protocols/gmpv208/entities/credentials/__init__.py +++ b/tests/protocols/gmpv208/entities/credentials/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_credential import GmpCloneCredentialTestMixin from .test_create_credential import GmpCreateCredentialTestMixin diff --git a/tests/protocols/gmpv208/entities/credentials/test_clone_credential.py b/tests/protocols/gmpv208/entities/credentials/test_clone_credential.py index 6827e88b9..1b309e625 100644 --- a/tests/protocols/gmpv208/entities/credentials/test_clone_credential.py +++ b/tests/protocols/gmpv208/entities/credentials/test_clone_credential.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/credentials/test_create_credential.py b/tests/protocols/gmpv208/entities/credentials/test_create_credential.py index d6e54afa0..7273c46d0 100644 --- a/tests/protocols/gmpv208/entities/credentials/test_create_credential.py +++ b/tests/protocols/gmpv208/entities/credentials/test_create_credential.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import ( diff --git a/tests/protocols/gmpv208/entities/credentials/test_delete_credential.py b/tests/protocols/gmpv208/entities/credentials/test_delete_credential.py index 5fb223ae6..efc77a378 100644 --- a/tests/protocols/gmpv208/entities/credentials/test_delete_credential.py +++ b/tests/protocols/gmpv208/entities/credentials/test_delete_credential.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/credentials/test_get_credential.py b/tests/protocols/gmpv208/entities/credentials/test_get_credential.py index 4c699d149..c61493477 100644 --- a/tests/protocols/gmpv208/entities/credentials/test_get_credential.py +++ b/tests/protocols/gmpv208/entities/credentials/test_get_credential.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import CredentialFormat diff --git a/tests/protocols/gmpv208/entities/credentials/test_get_credentials.py b/tests/protocols/gmpv208/entities/credentials/test_get_credentials.py index f6f0f6a58..ca17e8554 100644 --- a/tests/protocols/gmpv208/entities/credentials/test_get_credentials.py +++ b/tests/protocols/gmpv208/entities/credentials/test_get_credentials.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetCredentialsTestMixin: diff --git a/tests/protocols/gmpv208/entities/credentials/test_modify_credential.py b/tests/protocols/gmpv208/entities/credentials/test_modify_credential.py index 649e7c7b2..64e7f29ee 100644 --- a/tests/protocols/gmpv208/entities/credentials/test_modify_credential.py +++ b/tests/protocols/gmpv208/entities/credentials/test_modify_credential.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import SnmpAuthAlgorithm, SnmpPrivacyAlgorithm diff --git a/tests/protocols/gmpv208/entities/filters/__init__.py b/tests/protocols/gmpv208/entities/filters/__init__.py index e1af7df31..8211526a6 100644 --- a/tests/protocols/gmpv208/entities/filters/__init__.py +++ b/tests/protocols/gmpv208/entities/filters/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_filter import GmpCloneFilterTestMixin from .test_create_filter import GmpCreateFilterTestMixin diff --git a/tests/protocols/gmpv208/entities/filters/test_clone_filter.py b/tests/protocols/gmpv208/entities/filters/test_clone_filter.py index 7321ba4eb..ce93d8dfb 100644 --- a/tests/protocols/gmpv208/entities/filters/test_clone_filter.py +++ b/tests/protocols/gmpv208/entities/filters/test_clone_filter.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/filters/test_create_filter.py b/tests/protocols/gmpv208/entities/filters/test_create_filter.py index ad2de1d78..d1a7799c5 100644 --- a/tests/protocols/gmpv208/entities/filters/test_create_filter.py +++ b/tests/protocols/gmpv208/entities/filters/test_create_filter.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import FilterType diff --git a/tests/protocols/gmpv208/entities/filters/test_delete_filter.py b/tests/protocols/gmpv208/entities/filters/test_delete_filter.py index 3f3647373..3bbaa2df5 100644 --- a/tests/protocols/gmpv208/entities/filters/test_delete_filter.py +++ b/tests/protocols/gmpv208/entities/filters/test_delete_filter.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/filters/test_get_filter.py b/tests/protocols/gmpv208/entities/filters/test_get_filter.py index 1e7371701..ce94422ce 100644 --- a/tests/protocols/gmpv208/entities/filters/test_get_filter.py +++ b/tests/protocols/gmpv208/entities/filters/test_get_filter.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/filters/test_get_filters.py b/tests/protocols/gmpv208/entities/filters/test_get_filters.py index ea1c2111e..464caf6f0 100644 --- a/tests/protocols/gmpv208/entities/filters/test_get_filters.py +++ b/tests/protocols/gmpv208/entities/filters/test_get_filters.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetFiltersTestMixin: diff --git a/tests/protocols/gmpv208/entities/filters/test_modify_filter.py b/tests/protocols/gmpv208/entities/filters/test_modify_filter.py index b60dd7342..f8c129a9f 100644 --- a/tests/protocols/gmpv208/entities/filters/test_modify_filter.py +++ b/tests/protocols/gmpv208/entities/filters/test_modify_filter.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import FilterType diff --git a/tests/protocols/gmpv208/entities/groups/__init__.py b/tests/protocols/gmpv208/entities/groups/__init__.py index 63213a105..4e85cd9ae 100644 --- a/tests/protocols/gmpv208/entities/groups/__init__.py +++ b/tests/protocols/gmpv208/entities/groups/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_group import GmpCloneGroupTestMixin from .test_create_group import GmpCreateGroupTestMixin diff --git a/tests/protocols/gmpv208/entities/groups/test_clone_group.py b/tests/protocols/gmpv208/entities/groups/test_clone_group.py index d4a24bb8f..bbd52c97f 100644 --- a/tests/protocols/gmpv208/entities/groups/test_clone_group.py +++ b/tests/protocols/gmpv208/entities/groups/test_clone_group.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/groups/test_create_group.py b/tests/protocols/gmpv208/entities/groups/test_create_group.py index 96c69c440..80f8ecfde 100644 --- a/tests/protocols/gmpv208/entities/groups/test_create_group.py +++ b/tests/protocols/gmpv208/entities/groups/test_create_group.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/groups/test_delete_group.py b/tests/protocols/gmpv208/entities/groups/test_delete_group.py index 87149a145..5e3406c76 100644 --- a/tests/protocols/gmpv208/entities/groups/test_delete_group.py +++ b/tests/protocols/gmpv208/entities/groups/test_delete_group.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/groups/test_get_group.py b/tests/protocols/gmpv208/entities/groups/test_get_group.py index b5596caf4..6c19945a8 100644 --- a/tests/protocols/gmpv208/entities/groups/test_get_group.py +++ b/tests/protocols/gmpv208/entities/groups/test_get_group.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/groups/test_get_groups.py b/tests/protocols/gmpv208/entities/groups/test_get_groups.py index e785bfae9..0fea685b8 100644 --- a/tests/protocols/gmpv208/entities/groups/test_get_groups.py +++ b/tests/protocols/gmpv208/entities/groups/test_get_groups.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetGroupsTestMixin: diff --git a/tests/protocols/gmpv208/entities/groups/test_modify_group.py b/tests/protocols/gmpv208/entities/groups/test_modify_group.py index f3aa2cc0e..217f4fafa 100644 --- a/tests/protocols/gmpv208/entities/groups/test_modify_group.py +++ b/tests/protocols/gmpv208/entities/groups/test_modify_group.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/hosts/__init__.py b/tests/protocols/gmpv208/entities/hosts/__init__.py index a57f74a3a..a2f163787 100644 --- a/tests/protocols/gmpv208/entities/hosts/__init__.py +++ b/tests/protocols/gmpv208/entities/hosts/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_host import GmpCreateHostTestMixin from .test_delete_host import GmpDeleteHostTestMixin diff --git a/tests/protocols/gmpv208/entities/hosts/test_create_host.py b/tests/protocols/gmpv208/entities/hosts/test_create_host.py index 98c8cc00b..e8428d249 100644 --- a/tests/protocols/gmpv208/entities/hosts/test_create_host.py +++ b/tests/protocols/gmpv208/entities/hosts/test_create_host.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/hosts/test_delete_host.py b/tests/protocols/gmpv208/entities/hosts/test_delete_host.py index d9dca1748..5c4da02e1 100644 --- a/tests/protocols/gmpv208/entities/hosts/test_delete_host.py +++ b/tests/protocols/gmpv208/entities/hosts/test_delete_host.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/hosts/test_get_host.py b/tests/protocols/gmpv208/entities/hosts/test_get_host.py index 76c1fdb7e..09d5305f3 100644 --- a/tests/protocols/gmpv208/entities/hosts/test_get_host.py +++ b/tests/protocols/gmpv208/entities/hosts/test_get_host.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/hosts/test_get_hosts.py b/tests/protocols/gmpv208/entities/hosts/test_get_hosts.py index a3ee93cd1..8c6830f8d 100644 --- a/tests/protocols/gmpv208/entities/hosts/test_get_hosts.py +++ b/tests/protocols/gmpv208/entities/hosts/test_get_hosts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetHostsTestMixin: diff --git a/tests/protocols/gmpv208/entities/hosts/test_modify_host.py b/tests/protocols/gmpv208/entities/hosts/test_modify_host.py index d84bbde89..f5c6d378c 100644 --- a/tests/protocols/gmpv208/entities/hosts/test_modify_host.py +++ b/tests/protocols/gmpv208/entities/hosts/test_modify_host.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/notes/__init__.py b/tests/protocols/gmpv208/entities/notes/__init__.py index 735e3fa92..7fb62081e 100644 --- a/tests/protocols/gmpv208/entities/notes/__init__.py +++ b/tests/protocols/gmpv208/entities/notes/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_note import GmpCloneNoteTestMixin from .test_create_note import GmpCreateNoteTestMixin diff --git a/tests/protocols/gmpv208/entities/notes/test_clone_note.py b/tests/protocols/gmpv208/entities/notes/test_clone_note.py index efbe3a87c..b41059e04 100644 --- a/tests/protocols/gmpv208/entities/notes/test_clone_note.py +++ b/tests/protocols/gmpv208/entities/notes/test_clone_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/notes/test_create_note.py b/tests/protocols/gmpv208/entities/notes/test_create_note.py index 767f15c42..8dff99202 100644 --- a/tests/protocols/gmpv208/entities/notes/test_create_note.py +++ b/tests/protocols/gmpv208/entities/notes/test_create_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv208/entities/notes/test_delete_note.py b/tests/protocols/gmpv208/entities/notes/test_delete_note.py index 50ae0396f..96433c07c 100644 --- a/tests/protocols/gmpv208/entities/notes/test_delete_note.py +++ b/tests/protocols/gmpv208/entities/notes/test_delete_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/notes/test_get_note.py b/tests/protocols/gmpv208/entities/notes/test_get_note.py index f9691c749..d4d1636eb 100644 --- a/tests/protocols/gmpv208/entities/notes/test_get_note.py +++ b/tests/protocols/gmpv208/entities/notes/test_get_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/notes/test_get_notes.py b/tests/protocols/gmpv208/entities/notes/test_get_notes.py index aa31e60cb..efd2ce1dd 100644 --- a/tests/protocols/gmpv208/entities/notes/test_get_notes.py +++ b/tests/protocols/gmpv208/entities/notes/test_get_notes.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetNotesTestMixin: diff --git a/tests/protocols/gmpv208/entities/notes/test_modify_note.py b/tests/protocols/gmpv208/entities/notes/test_modify_note.py index 1aee5a515..740fac436 100644 --- a/tests/protocols/gmpv208/entities/notes/test_modify_note.py +++ b/tests/protocols/gmpv208/entities/notes/test_modify_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv208/entities/operating_systems/__init__.py b/tests/protocols/gmpv208/entities/operating_systems/__init__.py index 87ec261f9..79182d9e6 100644 --- a/tests/protocols/gmpv208/entities/operating_systems/__init__.py +++ b/tests/protocols/gmpv208/entities/operating_systems/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_delete_operating_system import GmpDeleteOperatingSystemTestMixin from .test_get_operating_system import GmpGetOperatingSystemTestMixin diff --git a/tests/protocols/gmpv208/entities/operating_systems/test_delete_operating_system.py b/tests/protocols/gmpv208/entities/operating_systems/test_delete_operating_system.py index 5c6364dbc..16e8e7480 100644 --- a/tests/protocols/gmpv208/entities/operating_systems/test_delete_operating_system.py +++ b/tests/protocols/gmpv208/entities/operating_systems/test_delete_operating_system.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_system.py b/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_system.py index 6cd1c92b7..017636769 100644 --- a/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_system.py +++ b/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_system.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_systems.py b/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_systems.py index f0ef70727..802ee97e9 100644 --- a/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_systems.py +++ b/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_systems.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetOperatingSystemsTestMixin: diff --git a/tests/protocols/gmpv208/entities/operating_systems/test_modify_operating_system.py b/tests/protocols/gmpv208/entities/operating_systems/test_modify_operating_system.py index b109693ef..7f1f10804 100644 --- a/tests/protocols/gmpv208/entities/operating_systems/test_modify_operating_system.py +++ b/tests/protocols/gmpv208/entities/operating_systems/test_modify_operating_system.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/overrides/__init__.py b/tests/protocols/gmpv208/entities/overrides/__init__.py index 3a534fce2..3dd4e1978 100644 --- a/tests/protocols/gmpv208/entities/overrides/__init__.py +++ b/tests/protocols/gmpv208/entities/overrides/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_override import GmpCloneOverrideTestMixin from .test_create_override import GmpCreateOverrideTestMixin diff --git a/tests/protocols/gmpv208/entities/overrides/test_clone_override.py b/tests/protocols/gmpv208/entities/overrides/test_clone_override.py index 3135cb0ef..02e44c00b 100644 --- a/tests/protocols/gmpv208/entities/overrides/test_clone_override.py +++ b/tests/protocols/gmpv208/entities/overrides/test_clone_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/overrides/test_create_override.py b/tests/protocols/gmpv208/entities/overrides/test_create_override.py index 9df48e30a..b91b4a320 100644 --- a/tests/protocols/gmpv208/entities/overrides/test_create_override.py +++ b/tests/protocols/gmpv208/entities/overrides/test_create_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv208/entities/overrides/test_delete_override.py b/tests/protocols/gmpv208/entities/overrides/test_delete_override.py index 37dd1b2da..bbbd37ac8 100644 --- a/tests/protocols/gmpv208/entities/overrides/test_delete_override.py +++ b/tests/protocols/gmpv208/entities/overrides/test_delete_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/overrides/test_get_override.py b/tests/protocols/gmpv208/entities/overrides/test_get_override.py index 78fa16260..898c54515 100644 --- a/tests/protocols/gmpv208/entities/overrides/test_get_override.py +++ b/tests/protocols/gmpv208/entities/overrides/test_get_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/overrides/test_get_overrides.py b/tests/protocols/gmpv208/entities/overrides/test_get_overrides.py index 16cd22542..9262c9956 100644 --- a/tests/protocols/gmpv208/entities/overrides/test_get_overrides.py +++ b/tests/protocols/gmpv208/entities/overrides/test_get_overrides.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetOverridesTestMixin: diff --git a/tests/protocols/gmpv208/entities/overrides/test_modify_override.py b/tests/protocols/gmpv208/entities/overrides/test_modify_override.py index 01e9db621..4aa0dfc7c 100644 --- a/tests/protocols/gmpv208/entities/overrides/test_modify_override.py +++ b/tests/protocols/gmpv208/entities/overrides/test_modify_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv208/entities/permissions/__init__.py b/tests/protocols/gmpv208/entities/permissions/__init__.py index 2f9728c06..4c1cd84cc 100644 --- a/tests/protocols/gmpv208/entities/permissions/__init__.py +++ b/tests/protocols/gmpv208/entities/permissions/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_permission import GmpClonePermissionTestMixin from .test_create_permission import GmpCreatePermissionTestMixin diff --git a/tests/protocols/gmpv208/entities/permissions/test_clone_permission.py b/tests/protocols/gmpv208/entities/permissions/test_clone_permission.py index eb087ab8b..26f1a815c 100644 --- a/tests/protocols/gmpv208/entities/permissions/test_clone_permission.py +++ b/tests/protocols/gmpv208/entities/permissions/test_clone_permission.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/permissions/test_create_permission.py b/tests/protocols/gmpv208/entities/permissions/test_create_permission.py index 5a9e99835..dbcb1c86c 100644 --- a/tests/protocols/gmpv208/entities/permissions/test_create_permission.py +++ b/tests/protocols/gmpv208/entities/permissions/test_create_permission.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import EntityType, PermissionSubjectType diff --git a/tests/protocols/gmpv208/entities/permissions/test_delete_permission.py b/tests/protocols/gmpv208/entities/permissions/test_delete_permission.py index 5305c7fa7..e29963aa0 100644 --- a/tests/protocols/gmpv208/entities/permissions/test_delete_permission.py +++ b/tests/protocols/gmpv208/entities/permissions/test_delete_permission.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/permissions/test_get_permission.py b/tests/protocols/gmpv208/entities/permissions/test_get_permission.py index 7f78419da..8cc906202 100644 --- a/tests/protocols/gmpv208/entities/permissions/test_get_permission.py +++ b/tests/protocols/gmpv208/entities/permissions/test_get_permission.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/permissions/test_get_permissions.py b/tests/protocols/gmpv208/entities/permissions/test_get_permissions.py index 677d382c8..4f3f47505 100644 --- a/tests/protocols/gmpv208/entities/permissions/test_get_permissions.py +++ b/tests/protocols/gmpv208/entities/permissions/test_get_permissions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetPermissionsTestMixin: diff --git a/tests/protocols/gmpv208/entities/permissions/test_modify_permission.py b/tests/protocols/gmpv208/entities/permissions/test_modify_permission.py index 3449a85b7..116257e82 100644 --- a/tests/protocols/gmpv208/entities/permissions/test_modify_permission.py +++ b/tests/protocols/gmpv208/entities/permissions/test_modify_permission.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import EntityType, PermissionSubjectType diff --git a/tests/protocols/gmpv208/entities/policies/__init__.py b/tests/protocols/gmpv208/entities/policies/__init__.py index 84752c7f3..9ea4590cb 100644 --- a/tests/protocols/gmpv208/entities/policies/__init__.py +++ b/tests/protocols/gmpv208/entities/policies/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_policy import GmpClonePolicyTestMixin from .test_create_policy import GmpCreatePolicyTestMixin diff --git a/tests/protocols/gmpv208/entities/policies/test_clone_policy.py b/tests/protocols/gmpv208/entities/policies/test_clone_policy.py index 35a4ff3a9..22c212d4b 100644 --- a/tests/protocols/gmpv208/entities/policies/test_clone_policy.py +++ b/tests/protocols/gmpv208/entities/policies/test_clone_policy.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/policies/test_create_policy.py b/tests/protocols/gmpv208/entities/policies/test_create_policy.py index 6380d03c1..2167d930f 100644 --- a/tests/protocols/gmpv208/entities/policies/test_create_policy.py +++ b/tests/protocols/gmpv208/entities/policies/test_create_policy.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/policies/test_delete_policy.py b/tests/protocols/gmpv208/entities/policies/test_delete_policy.py index bc8d681bf..f6eb2ec79 100644 --- a/tests/protocols/gmpv208/entities/policies/test_delete_policy.py +++ b/tests/protocols/gmpv208/entities/policies/test_delete_policy.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/policies/test_get_policies.py b/tests/protocols/gmpv208/entities/policies/test_get_policies.py index 08b180f35..d0b34e306 100644 --- a/tests/protocols/gmpv208/entities/policies/test_get_policies.py +++ b/tests/protocols/gmpv208/entities/policies/test_get_policies.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetPoliciesTestMixin: diff --git a/tests/protocols/gmpv208/entities/policies/test_get_policy.py b/tests/protocols/gmpv208/entities/policies/test_get_policy.py index 26df12fed..c8ed764ee 100644 --- a/tests/protocols/gmpv208/entities/policies/test_get_policy.py +++ b/tests/protocols/gmpv208/entities/policies/test_get_policy.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/policies/test_import_policy.py b/tests/protocols/gmpv208/entities/policies/test_import_policy.py index 5a5b7dfe7..fe30eebcb 100644 --- a/tests/protocols/gmpv208/entities/policies/test_import_policy.py +++ b/tests/protocols/gmpv208/entities/policies/test_import_policy.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_comment.py b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_comment.py index c949f71c0..a0ba2a1fe 100644 --- a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_comment.py +++ b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_comment.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_family_selection.py b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_family_selection.py index 28025fc27..a697db0b5 100644 --- a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_family_selection.py +++ b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_family_selection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, InvalidArgumentType, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_name.py b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_name.py index f7622f2f4..ccf7c1d47 100644 --- a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_name.py +++ b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_name.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_preference.py b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_preference.py index 9928653e0..00d1c1c15 100644 --- a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_preference.py +++ b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_selection.py b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_selection.py index 009ae0498..4706d1f1d 100644 --- a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_selection.py +++ b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_selection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_scanner_preference.py b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_scanner_preference.py index 50f174220..75fb1c4b4 100644 --- a/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_scanner_preference.py +++ b/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_scanner_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/port_lists/__init__.py b/tests/protocols/gmpv208/entities/port_lists/__init__.py index c1845f549..4845aca8c 100644 --- a/tests/protocols/gmpv208/entities/port_lists/__init__.py +++ b/tests/protocols/gmpv208/entities/port_lists/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_port_list import GmpClonePortListTestMixin from .test_create_port_list import GmpCreatePortListTestMixin diff --git a/tests/protocols/gmpv208/entities/port_lists/test_clone_port_list.py b/tests/protocols/gmpv208/entities/port_lists/test_clone_port_list.py index 7aed21148..56f485ab3 100644 --- a/tests/protocols/gmpv208/entities/port_lists/test_clone_port_list.py +++ b/tests/protocols/gmpv208/entities/port_lists/test_clone_port_list.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/port_lists/test_create_port_list.py b/tests/protocols/gmpv208/entities/port_lists/test_create_port_list.py index 16fdf83fa..b4927db17 100644 --- a/tests/protocols/gmpv208/entities/port_lists/test_create_port_list.py +++ b/tests/protocols/gmpv208/entities/port_lists/test_create_port_list.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/port_lists/test_create_port_range.py b/tests/protocols/gmpv208/entities/port_lists/test_create_port_range.py index 19b40cd1a..2bc43e954 100644 --- a/tests/protocols/gmpv208/entities/port_lists/test_create_port_range.py +++ b/tests/protocols/gmpv208/entities/port_lists/test_create_port_range.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208.entities.port_lists import PortRangeType diff --git a/tests/protocols/gmpv208/entities/port_lists/test_delete_port_list.py b/tests/protocols/gmpv208/entities/port_lists/test_delete_port_list.py index 0ea027f31..b7f01cb9c 100644 --- a/tests/protocols/gmpv208/entities/port_lists/test_delete_port_list.py +++ b/tests/protocols/gmpv208/entities/port_lists/test_delete_port_list.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/port_lists/test_delete_port_range.py b/tests/protocols/gmpv208/entities/port_lists/test_delete_port_range.py index aa4eb0433..b33fc77d3 100644 --- a/tests/protocols/gmpv208/entities/port_lists/test_delete_port_range.py +++ b/tests/protocols/gmpv208/entities/port_lists/test_delete_port_range.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/port_lists/test_get_port_list.py b/tests/protocols/gmpv208/entities/port_lists/test_get_port_list.py index c84da0f65..15922d899 100644 --- a/tests/protocols/gmpv208/entities/port_lists/test_get_port_list.py +++ b/tests/protocols/gmpv208/entities/port_lists/test_get_port_list.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/port_lists/test_get_port_lists.py b/tests/protocols/gmpv208/entities/port_lists/test_get_port_lists.py index f7fea0e60..472ed6394 100644 --- a/tests/protocols/gmpv208/entities/port_lists/test_get_port_lists.py +++ b/tests/protocols/gmpv208/entities/port_lists/test_get_port_lists.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetPortListsTestMixin: diff --git a/tests/protocols/gmpv208/entities/port_lists/test_modify_port_list.py b/tests/protocols/gmpv208/entities/port_lists/test_modify_port_list.py index f56f1d693..1605a5059 100644 --- a/tests/protocols/gmpv208/entities/port_lists/test_modify_port_list.py +++ b/tests/protocols/gmpv208/entities/port_lists/test_modify_port_list.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/report_formats/__init__.py b/tests/protocols/gmpv208/entities/report_formats/__init__.py index e0eff5047..29e3fdb45 100644 --- a/tests/protocols/gmpv208/entities/report_formats/__init__.py +++ b/tests/protocols/gmpv208/entities/report_formats/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_report_format import GmpCloneReportFormatTestMixin from .test_delete_report_format import GmpDeleteReportFormatTestMixin diff --git a/tests/protocols/gmpv208/entities/report_formats/test_clone_report_format.py b/tests/protocols/gmpv208/entities/report_formats/test_clone_report_format.py index 39b6e2477..c32455bc8 100644 --- a/tests/protocols/gmpv208/entities/report_formats/test_clone_report_format.py +++ b/tests/protocols/gmpv208/entities/report_formats/test_clone_report_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument from gvm.protocols.gmpv208.entities.report_formats import ReportFormatType diff --git a/tests/protocols/gmpv208/entities/report_formats/test_delete_report_format.py b/tests/protocols/gmpv208/entities/report_formats/test_delete_report_format.py index b14d2cef0..4adaf6012 100644 --- a/tests/protocols/gmpv208/entities/report_formats/test_delete_report_format.py +++ b/tests/protocols/gmpv208/entities/report_formats/test_delete_report_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError from gvm.protocols.gmpv208.entities.report_formats import ReportFormatType diff --git a/tests/protocols/gmpv208/entities/report_formats/test_get_report_format.py b/tests/protocols/gmpv208/entities/report_formats/test_get_report_format.py index 4a5436303..11e5736c7 100644 --- a/tests/protocols/gmpv208/entities/report_formats/test_get_report_format.py +++ b/tests/protocols/gmpv208/entities/report_formats/test_get_report_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument from gvm.protocols.gmpv208.entities.report_formats import ReportFormatType diff --git a/tests/protocols/gmpv208/entities/report_formats/test_get_report_formats.py b/tests/protocols/gmpv208/entities/report_formats/test_get_report_formats.py index 63720da1c..68296d166 100644 --- a/tests/protocols/gmpv208/entities/report_formats/test_get_report_formats.py +++ b/tests/protocols/gmpv208/entities/report_formats/test_get_report_formats.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetReportFormatsTestMixin: diff --git a/tests/protocols/gmpv208/entities/report_formats/test_import_report_format.py b/tests/protocols/gmpv208/entities/report_formats/test_import_report_format.py index a9bb475aa..38735959a 100644 --- a/tests/protocols/gmpv208/entities/report_formats/test_import_report_format.py +++ b/tests/protocols/gmpv208/entities/report_formats/test_import_report_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/report_formats/test_modify_report_format.py b/tests/protocols/gmpv208/entities/report_formats/test_modify_report_format.py index 63191cedf..1703f5fec 100644 --- a/tests/protocols/gmpv208/entities/report_formats/test_modify_report_format.py +++ b/tests/protocols/gmpv208/entities/report_formats/test_modify_report_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument from gvm.protocols.gmpv208.entities.report_formats import ReportFormatType diff --git a/tests/protocols/gmpv208/entities/report_formats/test_verify_report_format.py b/tests/protocols/gmpv208/entities/report_formats/test_verify_report_format.py index ae05df048..4b9ec6e47 100644 --- a/tests/protocols/gmpv208/entities/report_formats/test_verify_report_format.py +++ b/tests/protocols/gmpv208/entities/report_formats/test_verify_report_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError from gvm.protocols.gmpv208.entities.report_formats import ReportFormatType diff --git a/tests/protocols/gmpv208/entities/reports/__init__.py b/tests/protocols/gmpv208/entities/reports/__init__.py index 6e581a487..4d99d19ac 100644 --- a/tests/protocols/gmpv208/entities/reports/__init__.py +++ b/tests/protocols/gmpv208/entities/reports/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_delete_report import GmpDeleteReportTestMixin from .test_get_report import GmpGetReportTestMixin diff --git a/tests/protocols/gmpv208/entities/reports/test_delete_report.py b/tests/protocols/gmpv208/entities/reports/test_delete_report.py index 49c742fcb..48ae36994 100644 --- a/tests/protocols/gmpv208/entities/reports/test_delete_report.py +++ b/tests/protocols/gmpv208/entities/reports/test_delete_report.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/reports/test_get_report.py b/tests/protocols/gmpv208/entities/reports/test_get_report.py index 5b2a11553..5248f2b07 100644 --- a/tests/protocols/gmpv208/entities/reports/test_get_report.py +++ b/tests/protocols/gmpv208/entities/reports/test_get_report.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument from gvm.protocols.gmpv208.entities.report_formats import ReportFormatType diff --git a/tests/protocols/gmpv208/entities/reports/test_get_reports.py b/tests/protocols/gmpv208/entities/reports/test_get_reports.py index 8742208d1..0bdc64ff0 100644 --- a/tests/protocols/gmpv208/entities/reports/test_get_reports.py +++ b/tests/protocols/gmpv208/entities/reports/test_get_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetReportsTestMixin: diff --git a/tests/protocols/gmpv208/entities/reports/test_import_report.py b/tests/protocols/gmpv208/entities/reports/test_import_report.py index 73b865af7..85f561fe0 100644 --- a/tests/protocols/gmpv208/entities/reports/test_import_report.py +++ b/tests/protocols/gmpv208/entities/reports/test_import_report.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/results/__init__.py b/tests/protocols/gmpv208/entities/results/__init__.py index 795f83e7a..6b998c600 100644 --- a/tests/protocols/gmpv208/entities/results/__init__.py +++ b/tests/protocols/gmpv208/entities/results/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_result import GmpGetResultTestMixin from .test_get_results import GmpGetResultsTestMixin diff --git a/tests/protocols/gmpv208/entities/results/test_get_result.py b/tests/protocols/gmpv208/entities/results/test_get_result.py index 7c00b7bec..0061aa7c2 100644 --- a/tests/protocols/gmpv208/entities/results/test_get_result.py +++ b/tests/protocols/gmpv208/entities/results/test_get_result.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/results/test_get_results.py b/tests/protocols/gmpv208/entities/results/test_get_results.py index a86a9cf85..f2ff9a6a9 100644 --- a/tests/protocols/gmpv208/entities/results/test_get_results.py +++ b/tests/protocols/gmpv208/entities/results/test_get_results.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetResultsTestMixin: diff --git a/tests/protocols/gmpv208/entities/roles/__init__.py b/tests/protocols/gmpv208/entities/roles/__init__.py index 43cb79bf3..7ddc2c61d 100644 --- a/tests/protocols/gmpv208/entities/roles/__init__.py +++ b/tests/protocols/gmpv208/entities/roles/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_role import GmpCloneRoleTestMixin from .test_create_role import GmpCreateRoleTestMixin diff --git a/tests/protocols/gmpv208/entities/roles/test_clone_role.py b/tests/protocols/gmpv208/entities/roles/test_clone_role.py index 37f2b75ba..99f743263 100644 --- a/tests/protocols/gmpv208/entities/roles/test_clone_role.py +++ b/tests/protocols/gmpv208/entities/roles/test_clone_role.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/roles/test_create_role.py b/tests/protocols/gmpv208/entities/roles/test_create_role.py index a8938910a..3b2cd6719 100644 --- a/tests/protocols/gmpv208/entities/roles/test_create_role.py +++ b/tests/protocols/gmpv208/entities/roles/test_create_role.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/roles/test_delete_role.py b/tests/protocols/gmpv208/entities/roles/test_delete_role.py index c8705dfc8..9e4ce4417 100644 --- a/tests/protocols/gmpv208/entities/roles/test_delete_role.py +++ b/tests/protocols/gmpv208/entities/roles/test_delete_role.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/roles/test_get_role.py b/tests/protocols/gmpv208/entities/roles/test_get_role.py index 9dba1dc0f..4670ea622 100644 --- a/tests/protocols/gmpv208/entities/roles/test_get_role.py +++ b/tests/protocols/gmpv208/entities/roles/test_get_role.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/roles/test_get_roles.py b/tests/protocols/gmpv208/entities/roles/test_get_roles.py index 97723cdb5..5230db625 100644 --- a/tests/protocols/gmpv208/entities/roles/test_get_roles.py +++ b/tests/protocols/gmpv208/entities/roles/test_get_roles.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetRolesTestMixin: diff --git a/tests/protocols/gmpv208/entities/roles/test_modify_role.py b/tests/protocols/gmpv208/entities/roles/test_modify_role.py index 0cecb9257..85041dc39 100644 --- a/tests/protocols/gmpv208/entities/roles/test_modify_role.py +++ b/tests/protocols/gmpv208/entities/roles/test_modify_role.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/__init__.py b/tests/protocols/gmpv208/entities/scan_configs/__init__.py index c5b3e4e20..e544d15fd 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/__init__.py +++ b/tests/protocols/gmpv208/entities/scan_configs/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_scan_config import GmpCloneScanConfigTestMixin from .test_create_scan_config import GmpCreateScanConfigTestMixin diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_clone_scan_config.py b/tests/protocols/gmpv208/entities/scan_configs/test_clone_scan_config.py index b78d5f729..3ab56ab2e 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_clone_scan_config.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_clone_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config.py b/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config.py index c71b1319d..abdd60751 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config_from_osp_scanner.py b/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config_from_osp_scanner.py index 55c51ea4b..af70f0c7b 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config_from_osp_scanner.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config_from_osp_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_delete_scan_config.py b/tests/protocols/gmpv208/entities/scan_configs/test_delete_scan_config.py index 2b2699a5f..d07a2c9cc 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_delete_scan_config.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_delete_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config.py b/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config.py index 8e232454b..86a0fcbd3 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preference.py b/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preference.py index ff49ee6f4..807bac826 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preference.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preferences.py b/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preferences.py index 10330deab..5fa8093f0 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preferences.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preferences.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetScanConfigPreferencesTestMixin: diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_configs.py b/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_configs.py index 7852d2f4b..f11d5e874 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_configs.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_configs.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetScanConfigsTestMixin: diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_import_scan_config.py b/tests/protocols/gmpv208/entities/scan_configs/test_import_scan_config.py index 722f50523..8873d368f 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_import_scan_config.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_import_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config.py b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config.py index 7d65f65c4..b3530a030 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import warnings from gvm.errors import InvalidArgument, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_comment.py b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_comment.py index 6989cb614..3fac21010 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_comment.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_comment.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_family_selection.py b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_family_selection.py index 966687322..2b00eb4cc 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_family_selection.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_family_selection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, InvalidArgumentType, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_name.py b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_name.py index 72486fdd6..f4481e76f 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_name.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_name.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py index 7ce8c9958..59aba32b9 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py index e2670b533..aae8df6da 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py index fa11c7565..c43ab72d2 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scan_configs/test_sync_scan_config.py b/tests/protocols/gmpv208/entities/scan_configs/test_sync_scan_config.py index fb4899ac1..0b7b36e72 100644 --- a/tests/protocols/gmpv208/entities/scan_configs/test_sync_scan_config.py +++ b/tests/protocols/gmpv208/entities/scan_configs/test_sync_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpSyncScanConfigTestMixin: diff --git a/tests/protocols/gmpv208/entities/scanners/__init__.py b/tests/protocols/gmpv208/entities/scanners/__init__.py index aca2fb01e..97e2d0313 100644 --- a/tests/protocols/gmpv208/entities/scanners/__init__.py +++ b/tests/protocols/gmpv208/entities/scanners/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_scanner import GmpCloneScannerTestMixin from .test_create_scanner import GmpCreateScannerTestMixin diff --git a/tests/protocols/gmpv208/entities/scanners/test_clone_scanner.py b/tests/protocols/gmpv208/entities/scanners/test_clone_scanner.py index 6c30acc59..006e67169 100644 --- a/tests/protocols/gmpv208/entities/scanners/test_clone_scanner.py +++ b/tests/protocols/gmpv208/entities/scanners/test_clone_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scanners/test_create_scanner.py b/tests/protocols/gmpv208/entities/scanners/test_create_scanner.py index 9ad3f32c1..23aee94a4 100644 --- a/tests/protocols/gmpv208/entities/scanners/test_create_scanner.py +++ b/tests/protocols/gmpv208/entities/scanners/test_create_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import ScannerType diff --git a/tests/protocols/gmpv208/entities/scanners/test_delete_scanner.py b/tests/protocols/gmpv208/entities/scanners/test_delete_scanner.py index ce4c8777b..953e7c0fc 100644 --- a/tests/protocols/gmpv208/entities/scanners/test_delete_scanner.py +++ b/tests/protocols/gmpv208/entities/scanners/test_delete_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/scanners/test_get_scanner.py b/tests/protocols/gmpv208/entities/scanners/test_get_scanner.py index cc917626f..e393e47b4 100644 --- a/tests/protocols/gmpv208/entities/scanners/test_get_scanner.py +++ b/tests/protocols/gmpv208/entities/scanners/test_get_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/scanners/test_get_scanners.py b/tests/protocols/gmpv208/entities/scanners/test_get_scanners.py index 9afc4160d..cff604393 100644 --- a/tests/protocols/gmpv208/entities/scanners/test_get_scanners.py +++ b/tests/protocols/gmpv208/entities/scanners/test_get_scanners.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetScannersTestMixin: diff --git a/tests/protocols/gmpv208/entities/scanners/test_modify_scanner.py b/tests/protocols/gmpv208/entities/scanners/test_modify_scanner.py index 5f7c94427..7be7256a4 100644 --- a/tests/protocols/gmpv208/entities/scanners/test_modify_scanner.py +++ b/tests/protocols/gmpv208/entities/scanners/test_modify_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import ScannerType diff --git a/tests/protocols/gmpv208/entities/scanners/test_verify_scanner.py b/tests/protocols/gmpv208/entities/scanners/test_verify_scanner.py index 25213f0ed..b49d9718d 100644 --- a/tests/protocols/gmpv208/entities/scanners/test_verify_scanner.py +++ b/tests/protocols/gmpv208/entities/scanners/test_verify_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/schedules/__init__.py b/tests/protocols/gmpv208/entities/schedules/__init__.py index 498ac9703..c9054a241 100644 --- a/tests/protocols/gmpv208/entities/schedules/__init__.py +++ b/tests/protocols/gmpv208/entities/schedules/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_schedule import GmpCloneScheduleTestMixin from .test_create_schedule import GmpCreateScheduleTestMixin diff --git a/tests/protocols/gmpv208/entities/schedules/test_clone_schedule.py b/tests/protocols/gmpv208/entities/schedules/test_clone_schedule.py index 6a38ba880..d3c5a4154 100644 --- a/tests/protocols/gmpv208/entities/schedules/test_clone_schedule.py +++ b/tests/protocols/gmpv208/entities/schedules/test_clone_schedule.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/schedules/test_create_schedule.py b/tests/protocols/gmpv208/entities/schedules/test_create_schedule.py index e6b452ae4..f20b841c7 100644 --- a/tests/protocols/gmpv208/entities/schedules/test_create_schedule.py +++ b/tests/protocols/gmpv208/entities/schedules/test_create_schedule.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/schedules/test_delete_schedule.py b/tests/protocols/gmpv208/entities/schedules/test_delete_schedule.py index 777ed88b1..8c406b2ba 100644 --- a/tests/protocols/gmpv208/entities/schedules/test_delete_schedule.py +++ b/tests/protocols/gmpv208/entities/schedules/test_delete_schedule.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/schedules/test_get_schedule.py b/tests/protocols/gmpv208/entities/schedules/test_get_schedule.py index 7c6df6736..ba5bc3899 100644 --- a/tests/protocols/gmpv208/entities/schedules/test_get_schedule.py +++ b/tests/protocols/gmpv208/entities/schedules/test_get_schedule.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/schedules/test_get_schedules.py b/tests/protocols/gmpv208/entities/schedules/test_get_schedules.py index c931b46fc..55c8f17f6 100644 --- a/tests/protocols/gmpv208/entities/schedules/test_get_schedules.py +++ b/tests/protocols/gmpv208/entities/schedules/test_get_schedules.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetSchedulesTestMixin: diff --git a/tests/protocols/gmpv208/entities/schedules/test_modify_schedule.py b/tests/protocols/gmpv208/entities/schedules/test_modify_schedule.py index fe5b63531..b71ec559f 100644 --- a/tests/protocols/gmpv208/entities/schedules/test_modify_schedule.py +++ b/tests/protocols/gmpv208/entities/schedules/test_modify_schedule.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/__init__.py b/tests/protocols/gmpv208/entities/secinfo/__init__.py index 5bf10fb77..3ba4bff2d 100644 --- a/tests/protocols/gmpv208/entities/secinfo/__init__.py +++ b/tests/protocols/gmpv208/entities/secinfo/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_cert_bund_advisories import GmpGetCertBundListTestMixin from .test_get_cert_bund_advisory import GmpGetCertBundTestMixin diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisories.py b/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisories.py index d6c7b81b4..a30c3c64e 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisories.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisories.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetCertBundListTestMixin: diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisory.py b/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisory.py index fe483464a..9dd4deaba 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisory.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisory.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_cpe.py b/tests/protocols/gmpv208/entities/secinfo/test_get_cpe.py index 639d12e0b..757133f58 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_cpe.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_cpe.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_cpes.py b/tests/protocols/gmpv208/entities/secinfo/test_get_cpes.py index 8f32e83b2..da916d1c7 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_cpes.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_cpes.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetCpeListTestMixin: diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_cve.py b/tests/protocols/gmpv208/entities/secinfo/test_get_cve.py index dd9e420da..a96cba1f4 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_cve.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_cve.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_cves.py b/tests/protocols/gmpv208/entities/secinfo/test_get_cves.py index 35c15977d..7938d27bf 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_cves.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_cves.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetCveListTestMixin: diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisories.py b/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisories.py index b4ae08588..4ded764a7 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisories.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisories.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetDfnCertListTestMixin: diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisory.py b/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisory.py index 56c740737..d7cc5706b 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisory.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisory.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_info.py b/tests/protocols/gmpv208/entities/secinfo/test_get_info.py index d447d32d0..b7565ab26 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_info.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_info.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import InfoType diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_info_list.py b/tests/protocols/gmpv208/entities/secinfo/test_get_info_list.py index 599e02289..0bcd1e366 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_info_list.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_info_list.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import InfoType diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_nvt.py b/tests/protocols/gmpv208/entities/secinfo/test_get_nvt.py index 8b95f927b..d0144afd1 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_nvt.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_nvt.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_families.py b/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_families.py index 6a89c4f0f..ab9c3e2ad 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_families.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_families.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetNvtFamiliesTestMixin: diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preference.py b/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preference.py index ae6ab5c25..de02c619c 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preference.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preferences.py b/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preferences.py index c41d40290..ac7c5dd2c 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preferences.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preferences.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetNvtPreferencesTestMixin: diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_nvts.py b/tests/protocols/gmpv208/entities/secinfo/test_get_nvts.py index c4ee3dcdf..b7da77c92 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_nvts.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_nvts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetNvtListTestMixin: diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definition.py b/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definition.py index 6ddb9afaa..b9c2e9be0 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definition.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definition.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definitions.py b/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definitions.py index 3b930ef17..be24f2ed9 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definitions.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definitions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetOvalDefListTestMixin: diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvt.py b/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvt.py index 5b1f005e6..d622b3843 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvt.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvt.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvts.py b/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvts.py index 8b361890d..4d6d22d2d 100644 --- a/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvts.py +++ b/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetScanConfigNvtsTestMixin: diff --git a/tests/protocols/gmpv208/entities/tags/__init__.py b/tests/protocols/gmpv208/entities/tags/__init__.py index f455e2b8f..17629e5a8 100644 --- a/tests/protocols/gmpv208/entities/tags/__init__.py +++ b/tests/protocols/gmpv208/entities/tags/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_tag import GmpCloneTagTestMixin from .test_create_tag import GmpCreateTagTestMixin diff --git a/tests/protocols/gmpv208/entities/tags/test_clone_tag.py b/tests/protocols/gmpv208/entities/tags/test_clone_tag.py index d42137eb0..38d3e34ec 100644 --- a/tests/protocols/gmpv208/entities/tags/test_clone_tag.py +++ b/tests/protocols/gmpv208/entities/tags/test_clone_tag.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tags/test_create_tag.py b/tests/protocols/gmpv208/entities/tags/test_create_tag.py index 1a99204d3..5d2219105 100644 --- a/tests/protocols/gmpv208/entities/tags/test_create_tag.py +++ b/tests/protocols/gmpv208/entities/tags/test_create_tag.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import EntityType diff --git a/tests/protocols/gmpv208/entities/tags/test_delete_tag.py b/tests/protocols/gmpv208/entities/tags/test_delete_tag.py index 483945e04..d1a779fbd 100644 --- a/tests/protocols/gmpv208/entities/tags/test_delete_tag.py +++ b/tests/protocols/gmpv208/entities/tags/test_delete_tag.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/tags/test_get_tag.py b/tests/protocols/gmpv208/entities/tags/test_get_tag.py index 73bea75de..6e712e627 100644 --- a/tests/protocols/gmpv208/entities/tags/test_get_tag.py +++ b/tests/protocols/gmpv208/entities/tags/test_get_tag.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tags/test_get_tags.py b/tests/protocols/gmpv208/entities/tags/test_get_tags.py index b28e9d803..1cbfeae4b 100644 --- a/tests/protocols/gmpv208/entities/tags/test_get_tags.py +++ b/tests/protocols/gmpv208/entities/tags/test_get_tags.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetTagsTestMixin: diff --git a/tests/protocols/gmpv208/entities/tags/test_modify_tag.py b/tests/protocols/gmpv208/entities/tags/test_modify_tag.py index 698472cc8..b9fbd56a4 100644 --- a/tests/protocols/gmpv208/entities/tags/test_modify_tag.py +++ b/tests/protocols/gmpv208/entities/tags/test_modify_tag.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import EntityType diff --git a/tests/protocols/gmpv208/entities/targets/__init__.py b/tests/protocols/gmpv208/entities/targets/__init__.py index 06252a7eb..27b214c3a 100644 --- a/tests/protocols/gmpv208/entities/targets/__init__.py +++ b/tests/protocols/gmpv208/entities/targets/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_target import GmpCloneTargetTestMixin from .test_create_target import GmpCreateTargetTestMixin diff --git a/tests/protocols/gmpv208/entities/targets/test_clone_target.py b/tests/protocols/gmpv208/entities/targets/test_clone_target.py index 98bc34b1c..bd5ebd42c 100644 --- a/tests/protocols/gmpv208/entities/targets/test_clone_target.py +++ b/tests/protocols/gmpv208/entities/targets/test_clone_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/targets/test_create_target.py b/tests/protocols/gmpv208/entities/targets/test_create_target.py index eb861f4f7..2c55550d2 100644 --- a/tests/protocols/gmpv208/entities/targets/test_create_target.py +++ b/tests/protocols/gmpv208/entities/targets/test_create_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208.entities.targets import AliveTest diff --git a/tests/protocols/gmpv208/entities/targets/test_delete_target.py b/tests/protocols/gmpv208/entities/targets/test_delete_target.py index eceebe477..f947f7bd9 100644 --- a/tests/protocols/gmpv208/entities/targets/test_delete_target.py +++ b/tests/protocols/gmpv208/entities/targets/test_delete_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/targets/test_get_target.py b/tests/protocols/gmpv208/entities/targets/test_get_target.py index cbb507ee4..bfc9eb25f 100644 --- a/tests/protocols/gmpv208/entities/targets/test_get_target.py +++ b/tests/protocols/gmpv208/entities/targets/test_get_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/targets/test_get_targets.py b/tests/protocols/gmpv208/entities/targets/test_get_targets.py index 8d4492701..cf4afb482 100644 --- a/tests/protocols/gmpv208/entities/targets/test_get_targets.py +++ b/tests/protocols/gmpv208/entities/targets/test_get_targets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetTargetsTestMixin: diff --git a/tests/protocols/gmpv208/entities/targets/test_modify_target.py b/tests/protocols/gmpv208/entities/targets/test_modify_target.py index 5a9e568ff..03f39bd6e 100644 --- a/tests/protocols/gmpv208/entities/targets/test_modify_target.py +++ b/tests/protocols/gmpv208/entities/targets/test_modify_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208.entities.targets import AliveTest diff --git a/tests/protocols/gmpv208/entities/tasks/__init__.py b/tests/protocols/gmpv208/entities/tasks/__init__.py index 255f45863..9372be917 100644 --- a/tests/protocols/gmpv208/entities/tasks/__init__.py +++ b/tests/protocols/gmpv208/entities/tasks/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_task import GmpCloneTaskTestMixin from .test_create_container_task import GmpCreateContainerTaskTestMixin diff --git a/tests/protocols/gmpv208/entities/tasks/test_clone_task.py b/tests/protocols/gmpv208/entities/tasks/test_clone_task.py index d07b997f8..54678006f 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_clone_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_clone_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tasks/test_create_container_task.py b/tests/protocols/gmpv208/entities/tasks/test_create_container_task.py index ce9d9b045..323e82e2e 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_create_container_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_create_container_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tasks/test_create_task.py b/tests/protocols/gmpv208/entities/tasks/test_create_task.py index 427a12629..e8f011bb9 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_create_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_create_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from collections import OrderedDict diff --git a/tests/protocols/gmpv208/entities/tasks/test_delete_task.py b/tests/protocols/gmpv208/entities/tasks/test_delete_task.py index 4740f8fd2..aa0f8dd92 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_delete_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_delete_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/tasks/test_get_task.py b/tests/protocols/gmpv208/entities/tasks/test_get_task.py index 0b79bf192..ebb826b98 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_get_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_get_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/tasks/test_get_tasks.py b/tests/protocols/gmpv208/entities/tasks/test_get_tasks.py index 8cd224402..1771cbd2e 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_get_tasks.py +++ b/tests/protocols/gmpv208/entities/tasks/test_get_tasks.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetTasksTestMixin: diff --git a/tests/protocols/gmpv208/entities/tasks/test_modify_task.py b/tests/protocols/gmpv208/entities/tasks/test_modify_task.py index a94bac16d..d6c63f00a 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_modify_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_modify_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from collections import OrderedDict diff --git a/tests/protocols/gmpv208/entities/tasks/test_move_task.py b/tests/protocols/gmpv208/entities/tasks/test_move_task.py index df96d8ee5..0392ae3fb 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_move_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_move_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/tasks/test_resume_task.py b/tests/protocols/gmpv208/entities/tasks/test_resume_task.py index 0ca166725..0ced95ca8 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_resume_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_resume_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/tasks/test_start_task.py b/tests/protocols/gmpv208/entities/tasks/test_start_task.py index e19528f2b..3251f674f 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_start_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_start_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/tasks/test_stop_task.py b/tests/protocols/gmpv208/entities/tasks/test_stop_task.py index 744fe8305..09c1d4526 100644 --- a/tests/protocols/gmpv208/entities/tasks/test_stop_task.py +++ b/tests/protocols/gmpv208/entities/tasks/test_stop_task.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/test_alerts.py b/tests/protocols/gmpv208/entities/test_alerts.py index 192f5b3d5..3326c9dba 100644 --- a/tests/protocols/gmpv208/entities/test_alerts.py +++ b/tests/protocols/gmpv208/entities/test_alerts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .alerts import ( diff --git a/tests/protocols/gmpv208/entities/test_audits.py b/tests/protocols/gmpv208/entities/test_audits.py index f03eef19b..ca5d67758 100644 --- a/tests/protocols/gmpv208/entities/test_audits.py +++ b/tests/protocols/gmpv208/entities/test_audits.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .audits import ( diff --git a/tests/protocols/gmpv208/entities/test_credentials.py b/tests/protocols/gmpv208/entities/test_credentials.py index 2616d29e1..7e0f816ae 100644 --- a/tests/protocols/gmpv208/entities/test_credentials.py +++ b/tests/protocols/gmpv208/entities/test_credentials.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .credentials import ( diff --git a/tests/protocols/gmpv208/entities/test_filters.py b/tests/protocols/gmpv208/entities/test_filters.py index e0beace84..775a32e00 100644 --- a/tests/protocols/gmpv208/entities/test_filters.py +++ b/tests/protocols/gmpv208/entities/test_filters.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .filters import ( diff --git a/tests/protocols/gmpv208/entities/test_groups.py b/tests/protocols/gmpv208/entities/test_groups.py index 23c3f42bc..d9086a052 100644 --- a/tests/protocols/gmpv208/entities/test_groups.py +++ b/tests/protocols/gmpv208/entities/test_groups.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .groups import ( diff --git a/tests/protocols/gmpv208/entities/test_hosts.py b/tests/protocols/gmpv208/entities/test_hosts.py index 09021b9c6..e9f5eede3 100644 --- a/tests/protocols/gmpv208/entities/test_hosts.py +++ b/tests/protocols/gmpv208/entities/test_hosts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .hosts import ( diff --git a/tests/protocols/gmpv208/entities/test_notes.py b/tests/protocols/gmpv208/entities/test_notes.py index d9d24532d..5f816ba04 100644 --- a/tests/protocols/gmpv208/entities/test_notes.py +++ b/tests/protocols/gmpv208/entities/test_notes.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .notes import ( diff --git a/tests/protocols/gmpv208/entities/test_operating_systems.py b/tests/protocols/gmpv208/entities/test_operating_systems.py index 6018d9bfc..ad74a6c9e 100644 --- a/tests/protocols/gmpv208/entities/test_operating_systems.py +++ b/tests/protocols/gmpv208/entities/test_operating_systems.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .operating_systems import ( diff --git a/tests/protocols/gmpv208/entities/test_overrides.py b/tests/protocols/gmpv208/entities/test_overrides.py index 7d2c9a720..395d2eef8 100644 --- a/tests/protocols/gmpv208/entities/test_overrides.py +++ b/tests/protocols/gmpv208/entities/test_overrides.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .overrides import ( diff --git a/tests/protocols/gmpv208/entities/test_permissions.py b/tests/protocols/gmpv208/entities/test_permissions.py index aaae61cf2..592becd85 100644 --- a/tests/protocols/gmpv208/entities/test_permissions.py +++ b/tests/protocols/gmpv208/entities/test_permissions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .permissions import ( diff --git a/tests/protocols/gmpv208/entities/test_policies.py b/tests/protocols/gmpv208/entities/test_policies.py index 4edc4886c..083190f02 100644 --- a/tests/protocols/gmpv208/entities/test_policies.py +++ b/tests/protocols/gmpv208/entities/test_policies.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .policies import ( diff --git a/tests/protocols/gmpv208/entities/test_port_lists.py b/tests/protocols/gmpv208/entities/test_port_lists.py index 400ce09bf..332e845ee 100644 --- a/tests/protocols/gmpv208/entities/test_port_lists.py +++ b/tests/protocols/gmpv208/entities/test_port_lists.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .port_lists import ( diff --git a/tests/protocols/gmpv208/entities/test_report_formats.py b/tests/protocols/gmpv208/entities/test_report_formats.py index c3ee16fbb..80b45239a 100644 --- a/tests/protocols/gmpv208/entities/test_report_formats.py +++ b/tests/protocols/gmpv208/entities/test_report_formats.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .report_formats import ( diff --git a/tests/protocols/gmpv208/entities/test_reports.py b/tests/protocols/gmpv208/entities/test_reports.py index 0ea7242f8..6a1453c17 100644 --- a/tests/protocols/gmpv208/entities/test_reports.py +++ b/tests/protocols/gmpv208/entities/test_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .reports import ( diff --git a/tests/protocols/gmpv208/entities/test_results.py b/tests/protocols/gmpv208/entities/test_results.py index 1cab6bf0e..1bf981e7a 100644 --- a/tests/protocols/gmpv208/entities/test_results.py +++ b/tests/protocols/gmpv208/entities/test_results.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .results import GmpGetResultsTestMixin, GmpGetResultTestMixin diff --git a/tests/protocols/gmpv208/entities/test_roles.py b/tests/protocols/gmpv208/entities/test_roles.py index 25e9b921c..b9611cb79 100644 --- a/tests/protocols/gmpv208/entities/test_roles.py +++ b/tests/protocols/gmpv208/entities/test_roles.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .roles import ( diff --git a/tests/protocols/gmpv208/entities/test_scan_configs.py b/tests/protocols/gmpv208/entities/test_scan_configs.py index 4ca8f2045..53465bd93 100644 --- a/tests/protocols/gmpv208/entities/test_scan_configs.py +++ b/tests/protocols/gmpv208/entities/test_scan_configs.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .scan_configs import ( diff --git a/tests/protocols/gmpv208/entities/test_scanners.py b/tests/protocols/gmpv208/entities/test_scanners.py index d58398e36..4d40d3feb 100644 --- a/tests/protocols/gmpv208/entities/test_scanners.py +++ b/tests/protocols/gmpv208/entities/test_scanners.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .scanners import ( diff --git a/tests/protocols/gmpv208/entities/test_schedules.py b/tests/protocols/gmpv208/entities/test_schedules.py index 7f1ea58ea..1263fc90a 100644 --- a/tests/protocols/gmpv208/entities/test_schedules.py +++ b/tests/protocols/gmpv208/entities/test_schedules.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .schedules import ( diff --git a/tests/protocols/gmpv208/entities/test_secinfo.py b/tests/protocols/gmpv208/entities/test_secinfo.py index ecde0df78..0e7be1ab5 100644 --- a/tests/protocols/gmpv208/entities/test_secinfo.py +++ b/tests/protocols/gmpv208/entities/test_secinfo.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .secinfo import ( diff --git a/tests/protocols/gmpv208/entities/test_tags.py b/tests/protocols/gmpv208/entities/test_tags.py index 59e9a6a13..386db9e2e 100644 --- a/tests/protocols/gmpv208/entities/test_tags.py +++ b/tests/protocols/gmpv208/entities/test_tags.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .tags import ( diff --git a/tests/protocols/gmpv208/entities/test_targets.py b/tests/protocols/gmpv208/entities/test_targets.py index 13987d564..6385d6f4c 100644 --- a/tests/protocols/gmpv208/entities/test_targets.py +++ b/tests/protocols/gmpv208/entities/test_targets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .targets import ( diff --git a/tests/protocols/gmpv208/entities/test_tasks.py b/tests/protocols/gmpv208/entities/test_tasks.py index 0e675077b..0f5bfa8ea 100644 --- a/tests/protocols/gmpv208/entities/test_tasks.py +++ b/tests/protocols/gmpv208/entities/test_tasks.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .tasks import ( diff --git a/tests/protocols/gmpv208/entities/test_tickets.py b/tests/protocols/gmpv208/entities/test_tickets.py index e7e9b9927..01d0c5844 100644 --- a/tests/protocols/gmpv208/entities/test_tickets.py +++ b/tests/protocols/gmpv208/entities/test_tickets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .tickets import ( diff --git a/tests/protocols/gmpv208/entities/test_tls_certificates.py b/tests/protocols/gmpv208/entities/test_tls_certificates.py index 06d988c62..ee136f4e1 100644 --- a/tests/protocols/gmpv208/entities/test_tls_certificates.py +++ b/tests/protocols/gmpv208/entities/test_tls_certificates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .tls_certificates import ( diff --git a/tests/protocols/gmpv208/entities/test_users.py b/tests/protocols/gmpv208/entities/test_users.py index b24e8bf23..1a0daa821 100644 --- a/tests/protocols/gmpv208/entities/test_users.py +++ b/tests/protocols/gmpv208/entities/test_users.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .users import ( diff --git a/tests/protocols/gmpv208/entities/test_vulnerabilities.py b/tests/protocols/gmpv208/entities/test_vulnerabilities.py index 54eab3217..286abaf5b 100644 --- a/tests/protocols/gmpv208/entities/test_vulnerabilities.py +++ b/tests/protocols/gmpv208/entities/test_vulnerabilities.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .vulnerabilities import ( diff --git a/tests/protocols/gmpv208/entities/tickets/__init__.py b/tests/protocols/gmpv208/entities/tickets/__init__.py index 51dc9c948..a7bf85d16 100644 --- a/tests/protocols/gmpv208/entities/tickets/__init__.py +++ b/tests/protocols/gmpv208/entities/tickets/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_ticket import GmpCloneTicketTestMixin from .test_create_ticket import GmpCreateTicketTestMixin diff --git a/tests/protocols/gmpv208/entities/tickets/test_clone_ticket.py b/tests/protocols/gmpv208/entities/tickets/test_clone_ticket.py index fec0e86cd..e537817f0 100644 --- a/tests/protocols/gmpv208/entities/tickets/test_clone_ticket.py +++ b/tests/protocols/gmpv208/entities/tickets/test_clone_ticket.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tickets/test_create_ticket.py b/tests/protocols/gmpv208/entities/tickets/test_create_ticket.py index c694240a4..9cd28e838 100644 --- a/tests/protocols/gmpv208/entities/tickets/test_create_ticket.py +++ b/tests/protocols/gmpv208/entities/tickets/test_create_ticket.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tickets/test_delete_ticket.py b/tests/protocols/gmpv208/entities/tickets/test_delete_ticket.py index f471bd3a1..1977f024b 100644 --- a/tests/protocols/gmpv208/entities/tickets/test_delete_ticket.py +++ b/tests/protocols/gmpv208/entities/tickets/test_delete_ticket.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tickets/test_get_ticket.py b/tests/protocols/gmpv208/entities/tickets/test_get_ticket.py index c8c4a4fc5..3c68a5140 100644 --- a/tests/protocols/gmpv208/entities/tickets/test_get_ticket.py +++ b/tests/protocols/gmpv208/entities/tickets/test_get_ticket.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tickets/test_get_tickets.py b/tests/protocols/gmpv208/entities/tickets/test_get_tickets.py index d4ee9a1ba..beb31b619 100644 --- a/tests/protocols/gmpv208/entities/tickets/test_get_tickets.py +++ b/tests/protocols/gmpv208/entities/tickets/test_get_tickets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetTicketsTestMixin: diff --git a/tests/protocols/gmpv208/entities/tickets/test_modify_ticket.py b/tests/protocols/gmpv208/entities/tickets/test_modify_ticket.py index 2a50256f7..5d3deb65b 100644 --- a/tests/protocols/gmpv208/entities/tickets/test_modify_ticket.py +++ b/tests/protocols/gmpv208/entities/tickets/test_modify_ticket.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import TicketStatus diff --git a/tests/protocols/gmpv208/entities/tls_certificates/__init__.py b/tests/protocols/gmpv208/entities/tls_certificates/__init__.py index 42aa17809..65c12d75b 100644 --- a/tests/protocols/gmpv208/entities/tls_certificates/__init__.py +++ b/tests/protocols/gmpv208/entities/tls_certificates/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_tls_certificate import GmpCloneTLSCertificateTestMixin from .test_create_tls_certificate import GmpCreateTLSCertificateTestMixin diff --git a/tests/protocols/gmpv208/entities/tls_certificates/test_clone_tls_certificate.py b/tests/protocols/gmpv208/entities/tls_certificates/test_clone_tls_certificate.py index 447538a8f..e25a14875 100644 --- a/tests/protocols/gmpv208/entities/tls_certificates/test_clone_tls_certificate.py +++ b/tests/protocols/gmpv208/entities/tls_certificates/test_clone_tls_certificate.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tls_certificates/test_create_tls_certificate.py b/tests/protocols/gmpv208/entities/tls_certificates/test_create_tls_certificate.py index cd5e94bf9..d65b22435 100644 --- a/tests/protocols/gmpv208/entities/tls_certificates/test_create_tls_certificate.py +++ b/tests/protocols/gmpv208/entities/tls_certificates/test_create_tls_certificate.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/tls_certificates/test_delete_tls_certificate.py b/tests/protocols/gmpv208/entities/tls_certificates/test_delete_tls_certificate.py index 3193932b9..163a7fa0d 100644 --- a/tests/protocols/gmpv208/entities/tls_certificates/test_delete_tls_certificate.py +++ b/tests/protocols/gmpv208/entities/tls_certificates/test_delete_tls_certificate.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificate.py b/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificate.py index 89683d2d2..7a28fdc2a 100644 --- a/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificate.py +++ b/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificate.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificates.py b/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificates.py index b22efa75c..3bd7febf8 100644 --- a/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificates.py +++ b/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetTLSCertificatesTestMixin: diff --git a/tests/protocols/gmpv208/entities/tls_certificates/test_modify_tls_certificate.py b/tests/protocols/gmpv208/entities/tls_certificates/test_modify_tls_certificate.py index 7ebd2dfe1..28776da0b 100644 --- a/tests/protocols/gmpv208/entities/tls_certificates/test_modify_tls_certificate.py +++ b/tests/protocols/gmpv208/entities/tls_certificates/test_modify_tls_certificate.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/users/__init__.py b/tests/protocols/gmpv208/entities/users/__init__.py index e933ba4d5..6a5ca3168 100644 --- a/tests/protocols/gmpv208/entities/users/__init__.py +++ b/tests/protocols/gmpv208/entities/users/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_user import GmpCloneUserTestMixin from .test_create_user import GmpCreateUserTestMixin diff --git a/tests/protocols/gmpv208/entities/users/test_clone_user.py b/tests/protocols/gmpv208/entities/users/test_clone_user.py index 8e362f763..bf97c607f 100644 --- a/tests/protocols/gmpv208/entities/users/test_clone_user.py +++ b/tests/protocols/gmpv208/entities/users/test_clone_user.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/users/test_create_user.py b/tests/protocols/gmpv208/entities/users/test_create_user.py index 47706beef..0b2fcb388 100644 --- a/tests/protocols/gmpv208/entities/users/test_create_user.py +++ b/tests/protocols/gmpv208/entities/users/test_create_user.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/users/test_delete_user.py b/tests/protocols/gmpv208/entities/users/test_delete_user.py index 53c20da13..d16dafdea 100644 --- a/tests/protocols/gmpv208/entities/users/test_delete_user.py +++ b/tests/protocols/gmpv208/entities/users/test_delete_user.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/users/test_get_user.py b/tests/protocols/gmpv208/entities/users/test_get_user.py index ad6f8d838..bfde748e1 100644 --- a/tests/protocols/gmpv208/entities/users/test_get_user.py +++ b/tests/protocols/gmpv208/entities/users/test_get_user.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/entities/users/test_get_users.py b/tests/protocols/gmpv208/entities/users/test_get_users.py index ab30f907c..96e946b82 100644 --- a/tests/protocols/gmpv208/entities/users/test_get_users.py +++ b/tests/protocols/gmpv208/entities/users/test_get_users.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetUsersTestMixin: diff --git a/tests/protocols/gmpv208/entities/users/test_modify_user.py b/tests/protocols/gmpv208/entities/users/test_modify_user.py index 36e0ff8ce..19b3f5189 100644 --- a/tests/protocols/gmpv208/entities/users/test_modify_user.py +++ b/tests/protocols/gmpv208/entities/users/test_modify_user.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument from gvm.protocols.gmpv208 import UserAuthType diff --git a/tests/protocols/gmpv208/entities/vulnerabilities/__init__.py b/tests/protocols/gmpv208/entities/vulnerabilities/__init__.py index c0085a36e..d0a1e15fd 100644 --- a/tests/protocols/gmpv208/entities/vulnerabilities/__init__.py +++ b/tests/protocols/gmpv208/entities/vulnerabilities/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_vulnerabilities import GmpGetVulnerabilitiesTestMixin from .test_get_vulnerability import GmpGetVulnerabilityTestMixin diff --git a/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerabilities.py b/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerabilities.py index 317477e96..b986f48d9 100644 --- a/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerabilities.py +++ b/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerabilities.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetVulnerabilitiesTestMixin: diff --git a/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerability.py b/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerability.py index 2ed488339..6ab15089e 100644 --- a/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerability.py +++ b/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerability.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/enums/__init__.py b/tests/protocols/gmpv208/enums/__init__.py index 26c08a944..9104ba9ff 100644 --- a/tests/protocols/gmpv208/enums/__init__.py +++ b/tests/protocols/gmpv208/enums/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv208/enums/test_aggregate_statistic.py b/tests/protocols/gmpv208/enums/test_aggregate_statistic.py index 6c2d8caeb..d1fafae9e 100644 --- a/tests/protocols/gmpv208/enums/test_aggregate_statistic.py +++ b/tests/protocols/gmpv208/enums/test_aggregate_statistic.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_alert_condition.py b/tests/protocols/gmpv208/enums/test_alert_condition.py index 6fc057c04..424673177 100644 --- a/tests/protocols/gmpv208/enums/test_alert_condition.py +++ b/tests/protocols/gmpv208/enums/test_alert_condition.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_alert_event.py b/tests/protocols/gmpv208/enums/test_alert_event.py index 7e40a8435..bb8eb37d3 100644 --- a/tests/protocols/gmpv208/enums/test_alert_event.py +++ b/tests/protocols/gmpv208/enums/test_alert_event.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_alert_method.py b/tests/protocols/gmpv208/enums/test_alert_method.py index a12355a3e..161f42b9a 100644 --- a/tests/protocols/gmpv208/enums/test_alert_method.py +++ b/tests/protocols/gmpv208/enums/test_alert_method.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_alive_test.py b/tests/protocols/gmpv208/enums/test_alive_test.py index 61ad74167..5c0a722ec 100644 --- a/tests/protocols/gmpv208/enums/test_alive_test.py +++ b/tests/protocols/gmpv208/enums/test_alive_test.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_credential_format.py b/tests/protocols/gmpv208/enums/test_credential_format.py index ca3a4de06..c91b67e62 100644 --- a/tests/protocols/gmpv208/enums/test_credential_format.py +++ b/tests/protocols/gmpv208/enums/test_credential_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_credential_type.py b/tests/protocols/gmpv208/enums/test_credential_type.py index 09de017ba..47fa6c022 100644 --- a/tests/protocols/gmpv208/enums/test_credential_type.py +++ b/tests/protocols/gmpv208/enums/test_credential_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_entity_type.py b/tests/protocols/gmpv208/enums/test_entity_type.py index 6f429d35c..e9eda8a62 100644 --- a/tests/protocols/gmpv208/enums/test_entity_type.py +++ b/tests/protocols/gmpv208/enums/test_entity_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_feed_type.py b/tests/protocols/gmpv208/enums/test_feed_type.py index 4dd84a0ee..929a6735d 100644 --- a/tests/protocols/gmpv208/enums/test_feed_type.py +++ b/tests/protocols/gmpv208/enums/test_feed_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_filter_type.py b/tests/protocols/gmpv208/enums/test_filter_type.py index 0a9e05d0e..474b91fe6 100644 --- a/tests/protocols/gmpv208/enums/test_filter_type.py +++ b/tests/protocols/gmpv208/enums/test_filter_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_help_format.py b/tests/protocols/gmpv208/enums/test_help_format.py index ad6a82872..2627da1fd 100644 --- a/tests/protocols/gmpv208/enums/test_help_format.py +++ b/tests/protocols/gmpv208/enums/test_help_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_hosts_ordering.py b/tests/protocols/gmpv208/enums/test_hosts_ordering.py index 1d7c74314..fc5f2e9e8 100644 --- a/tests/protocols/gmpv208/enums/test_hosts_ordering.py +++ b/tests/protocols/gmpv208/enums/test_hosts_ordering.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_info_type.py b/tests/protocols/gmpv208/enums/test_info_type.py index 357d6a6d8..f5547a8ff 100644 --- a/tests/protocols/gmpv208/enums/test_info_type.py +++ b/tests/protocols/gmpv208/enums/test_info_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_permission_subject_type.py b/tests/protocols/gmpv208/enums/test_permission_subject_type.py index af1ca06e6..34ebd6fcf 100644 --- a/tests/protocols/gmpv208/enums/test_permission_subject_type.py +++ b/tests/protocols/gmpv208/enums/test_permission_subject_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_port_range_type.py b/tests/protocols/gmpv208/enums/test_port_range_type.py index 35ccb5744..cd4b1605c 100644 --- a/tests/protocols/gmpv208/enums/test_port_range_type.py +++ b/tests/protocols/gmpv208/enums/test_port_range_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_report_format_type.py b/tests/protocols/gmpv208/enums/test_report_format_type.py index 5a44d53a7..ed2715843 100644 --- a/tests/protocols/gmpv208/enums/test_report_format_type.py +++ b/tests/protocols/gmpv208/enums/test_report_format_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_scanner_type.py b/tests/protocols/gmpv208/enums/test_scanner_type.py index 99dc13070..40bad2833 100644 --- a/tests/protocols/gmpv208/enums/test_scanner_type.py +++ b/tests/protocols/gmpv208/enums/test_scanner_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_severity_level.py b/tests/protocols/gmpv208/enums/test_severity_level.py index ab4538361..c1192af7b 100644 --- a/tests/protocols/gmpv208/enums/test_severity_level.py +++ b/tests/protocols/gmpv208/enums/test_severity_level.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_snmp_algorithms.py b/tests/protocols/gmpv208/enums/test_snmp_algorithms.py index 621c14349..bae39b35c 100644 --- a/tests/protocols/gmpv208/enums/test_snmp_algorithms.py +++ b/tests/protocols/gmpv208/enums/test_snmp_algorithms.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_sort_order.py b/tests/protocols/gmpv208/enums/test_sort_order.py index 5c69c3a4b..34b675c9b 100644 --- a/tests/protocols/gmpv208/enums/test_sort_order.py +++ b/tests/protocols/gmpv208/enums/test_sort_order.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_ticket_status.py b/tests/protocols/gmpv208/enums/test_ticket_status.py index 416240fac..c0ca4bb3c 100644 --- a/tests/protocols/gmpv208/enums/test_ticket_status.py +++ b/tests/protocols/gmpv208/enums/test_ticket_status.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/enums/test_user_auth_type.py b/tests/protocols/gmpv208/enums/test_user_auth_type.py index e5e769937..f572b1433 100644 --- a/tests/protocols/gmpv208/enums/test_user_auth_type.py +++ b/tests/protocols/gmpv208/enums/test_user_auth_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv208/system/__init__.py b/tests/protocols/gmpv208/system/__init__.py index 6384df79b..bcfceaa60 100644 --- a/tests/protocols/gmpv208/system/__init__.py +++ b/tests/protocols/gmpv208/system/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv208/system/aggregates/__init__.py b/tests/protocols/gmpv208/system/aggregates/__init__.py index 3c1efb3e2..ecd0ad257 100644 --- a/tests/protocols/gmpv208/system/aggregates/__init__.py +++ b/tests/protocols/gmpv208/system/aggregates/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_aggregates import GmpGetAggregatesTestMixin diff --git a/tests/protocols/gmpv208/system/aggregates/test_get_aggregates.py b/tests/protocols/gmpv208/system/aggregates/test_get_aggregates.py index 02160b5e4..9bc9813a5 100644 --- a/tests/protocols/gmpv208/system/aggregates/test_get_aggregates.py +++ b/tests/protocols/gmpv208/system/aggregates/test_get_aggregates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import AggregateStatistic, EntityType, SortOrder diff --git a/tests/protocols/gmpv208/system/authentication/__init__.py b/tests/protocols/gmpv208/system/authentication/__init__.py index 00ad2ec8b..91b577b96 100644 --- a/tests/protocols/gmpv208/system/authentication/__init__.py +++ b/tests/protocols/gmpv208/system/authentication/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_authenticate import GmpAuthenticateTestMixin from .test_describe_auth import GmpDescribeAuthTestMixin diff --git a/tests/protocols/gmpv208/system/authentication/test_authenticate.py b/tests/protocols/gmpv208/system/authentication/test_authenticate.py index bd795fba0..00e387192 100644 --- a/tests/protocols/gmpv208/system/authentication/test_authenticate.py +++ b/tests/protocols/gmpv208/system/authentication/test_authenticate.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/system/authentication/test_describe_auth.py b/tests/protocols/gmpv208/system/authentication/test_describe_auth.py index 3c59d68f6..c690d39ae 100644 --- a/tests/protocols/gmpv208/system/authentication/test_describe_auth.py +++ b/tests/protocols/gmpv208/system/authentication/test_describe_auth.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpDescribeAuthTestMixin: diff --git a/tests/protocols/gmpv208/system/authentication/test_modify_auth.py b/tests/protocols/gmpv208/system/authentication/test_modify_auth.py index 7f5765cc6..29b4e249c 100644 --- a/tests/protocols/gmpv208/system/authentication/test_modify_auth.py +++ b/tests/protocols/gmpv208/system/authentication/test_modify_auth.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from collections import OrderedDict diff --git a/tests/protocols/gmpv208/system/feed/__init__.py b/tests/protocols/gmpv208/system/feed/__init__.py index 03d776992..149860134 100644 --- a/tests/protocols/gmpv208/system/feed/__init__.py +++ b/tests/protocols/gmpv208/system/feed/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_feed import GmpGetFeedTestMixin from .test_get_feeds import GmpGetFeedsTestMixin diff --git a/tests/protocols/gmpv208/system/feed/test_get_feed.py b/tests/protocols/gmpv208/system/feed/test_get_feed.py index d4a3786d6..548e5a6e1 100644 --- a/tests/protocols/gmpv208/system/feed/test_get_feed.py +++ b/tests/protocols/gmpv208/system/feed/test_get_feed.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv208 import FeedType diff --git a/tests/protocols/gmpv208/system/feed/test_get_feeds.py b/tests/protocols/gmpv208/system/feed/test_get_feeds.py index 2c7e60f19..40ffa9a00 100644 --- a/tests/protocols/gmpv208/system/feed/test_get_feeds.py +++ b/tests/protocols/gmpv208/system/feed/test_get_feeds.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetFeedsTestMixin: diff --git a/tests/protocols/gmpv208/system/help/__init__.py b/tests/protocols/gmpv208/system/help/__init__.py index 0078402d9..b0f6b06e3 100644 --- a/tests/protocols/gmpv208/system/help/__init__.py +++ b/tests/protocols/gmpv208/system/help/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_help import GmpHelpTestMixin diff --git a/tests/protocols/gmpv208/system/help/test_help.py b/tests/protocols/gmpv208/system/help/test_help.py index b3bccf2c7..518d638e6 100644 --- a/tests/protocols/gmpv208/system/help/test_help.py +++ b/tests/protocols/gmpv208/system/help/test_help.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType from gvm.protocols.gmpv208 import HelpFormat diff --git a/tests/protocols/gmpv208/system/system_reports/__init__.py b/tests/protocols/gmpv208/system/system_reports/__init__.py index ba358c9b4..22d8ddfaa 100644 --- a/tests/protocols/gmpv208/system/system_reports/__init__.py +++ b/tests/protocols/gmpv208/system/system_reports/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_system_reports import GmpGetSystemReportsTestMixin diff --git a/tests/protocols/gmpv208/system/system_reports/test_get_system_reports.py b/tests/protocols/gmpv208/system/system_reports/test_get_system_reports.py index 27a00bca2..02ba3fe23 100644 --- a/tests/protocols/gmpv208/system/system_reports/test_get_system_reports.py +++ b/tests/protocols/gmpv208/system/system_reports/test_get_system_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument diff --git a/tests/protocols/gmpv208/system/test_aggregates.py b/tests/protocols/gmpv208/system/test_aggregates.py index 2923f9718..0387e5367 100644 --- a/tests/protocols/gmpv208/system/test_aggregates.py +++ b/tests/protocols/gmpv208/system/test_aggregates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .aggregates import GmpGetAggregatesTestMixin diff --git a/tests/protocols/gmpv208/system/test_authentication.py b/tests/protocols/gmpv208/system/test_authentication.py index ac6c16f4c..af9b3c79e 100644 --- a/tests/protocols/gmpv208/system/test_authentication.py +++ b/tests/protocols/gmpv208/system/test_authentication.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .authentication import ( diff --git a/tests/protocols/gmpv208/system/test_feed.py b/tests/protocols/gmpv208/system/test_feed.py index ede472edb..56fd9c388 100644 --- a/tests/protocols/gmpv208/system/test_feed.py +++ b/tests/protocols/gmpv208/system/test_feed.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .feed import GmpGetFeedsTestMixin, GmpGetFeedTestMixin diff --git a/tests/protocols/gmpv208/system/test_help.py b/tests/protocols/gmpv208/system/test_help.py index cb4b9b133..50405a86a 100644 --- a/tests/protocols/gmpv208/system/test_help.py +++ b/tests/protocols/gmpv208/system/test_help.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .help import GmpHelpTestMixin diff --git a/tests/protocols/gmpv208/system/test_system_reports.py b/tests/protocols/gmpv208/system/test_system_reports.py index 03f3a611c..7d855da4a 100644 --- a/tests/protocols/gmpv208/system/test_system_reports.py +++ b/tests/protocols/gmpv208/system/test_system_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .system_reports import GmpGetSystemReportsTestMixin diff --git a/tests/protocols/gmpv208/system/test_trashcan.py b/tests/protocols/gmpv208/system/test_trashcan.py index 0852854ef..1d3aa4466 100644 --- a/tests/protocols/gmpv208/system/test_trashcan.py +++ b/tests/protocols/gmpv208/system/test_trashcan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .trashcan import GmpEmptyTrashcanTestMixin, GmpRestoreFromTrashcanTestMixin diff --git a/tests/protocols/gmpv208/system/test_user_settings.py b/tests/protocols/gmpv208/system/test_user_settings.py index db1fdb961..6542e65a4 100644 --- a/tests/protocols/gmpv208/system/test_user_settings.py +++ b/tests/protocols/gmpv208/system/test_user_settings.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .user_settings import ( diff --git a/tests/protocols/gmpv208/system/test_versions.py b/tests/protocols/gmpv208/system/test_versions.py index 522c4fd17..4c7216bc0 100644 --- a/tests/protocols/gmpv208/system/test_versions.py +++ b/tests/protocols/gmpv208/system/test_versions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208 import Gmpv208TestCase from .versions import GmpGetProtocolVersionTestCase, GmpGetVersionTestCase diff --git a/tests/protocols/gmpv208/system/trashcan/__init__.py b/tests/protocols/gmpv208/system/trashcan/__init__.py index 316fc924c..e4e81295c 100644 --- a/tests/protocols/gmpv208/system/trashcan/__init__.py +++ b/tests/protocols/gmpv208/system/trashcan/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_empty_trashcan import GmpEmptyTrashcanTestMixin from .test_restore_from_trashcan import GmpRestoreFromTrashcanTestMixin diff --git a/tests/protocols/gmpv208/system/trashcan/test_empty_trashcan.py b/tests/protocols/gmpv208/system/trashcan/test_empty_trashcan.py index 6568ae889..f46f295f9 100644 --- a/tests/protocols/gmpv208/system/trashcan/test_empty_trashcan.py +++ b/tests/protocols/gmpv208/system/trashcan/test_empty_trashcan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpEmptyTrashcanTestMixin: diff --git a/tests/protocols/gmpv208/system/trashcan/test_restore_from_trashcan.py b/tests/protocols/gmpv208/system/trashcan/test_restore_from_trashcan.py index bff626181..b4eb0c380 100644 --- a/tests/protocols/gmpv208/system/trashcan/test_restore_from_trashcan.py +++ b/tests/protocols/gmpv208/system/trashcan/test_restore_from_trashcan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv208/system/user_settings/__init__.py b/tests/protocols/gmpv208/system/user_settings/__init__.py index f7d52e67f..fbe35c301 100644 --- a/tests/protocols/gmpv208/system/user_settings/__init__.py +++ b/tests/protocols/gmpv208/system/user_settings/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_user_setting import GmpGetUserSettingTestMixin from .test_get_user_settings import GmpGetUserSettingsTestMixin diff --git a/tests/protocols/gmpv208/system/user_settings/test_get_user_setting.py b/tests/protocols/gmpv208/system/user_settings/test_get_user_setting.py index ce8e166c1..aa5c490a8 100644 --- a/tests/protocols/gmpv208/system/user_settings/test_get_user_setting.py +++ b/tests/protocols/gmpv208/system/user_settings/test_get_user_setting.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/system/user_settings/test_get_user_settings.py b/tests/protocols/gmpv208/system/user_settings/test_get_user_settings.py index 453791585..1d86b6902 100644 --- a/tests/protocols/gmpv208/system/user_settings/test_get_user_settings.py +++ b/tests/protocols/gmpv208/system/user_settings/test_get_user_settings.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetUserSettingsTestMixin: diff --git a/tests/protocols/gmpv208/system/user_settings/test_modify_user_setting.py b/tests/protocols/gmpv208/system/user_settings/test_modify_user_setting.py index dcafe1aa3..b15c17456 100644 --- a/tests/protocols/gmpv208/system/user_settings/test_modify_user_setting.py +++ b/tests/protocols/gmpv208/system/user_settings/test_modify_user_setting.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv208/system/versions/__init__.py b/tests/protocols/gmpv208/system/versions/__init__.py index b2bdc262d..040a71783 100644 --- a/tests/protocols/gmpv208/system/versions/__init__.py +++ b/tests/protocols/gmpv208/system/versions/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_protocol_version import GmpGetProtocolVersionTestCase from .test_get_version import GmpGetVersionTestCase diff --git a/tests/protocols/gmpv208/system/versions/test_get_protocol_version.py b/tests/protocols/gmpv208/system/versions/test_get_protocol_version.py index 8d53bc12a..3a5c3175e 100644 --- a/tests/protocols/gmpv208/system/versions/test_get_protocol_version.py +++ b/tests/protocols/gmpv208/system/versions/test_get_protocol_version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetProtocolVersionTestCase: diff --git a/tests/protocols/gmpv208/system/versions/test_get_version.py b/tests/protocols/gmpv208/system/versions/test_get_version.py index 8549fa58c..92ff33480 100644 --- a/tests/protocols/gmpv208/system/versions/test_get_version.py +++ b/tests/protocols/gmpv208/system/versions/test_get_version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetVersionTestCase: diff --git a/tests/protocols/gmpv208/test_gmp_types.py b/tests/protocols/gmpv208/test_gmp_types.py index 07661d4d3..81086c1cc 100644 --- a/tests/protocols/gmpv208/test_gmp_types.py +++ b/tests/protocols/gmpv208/test_gmp_types.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv208.entities.hosts import HostsOrdering diff --git a/tests/protocols/gmpv208/test_with_statement.py b/tests/protocols/gmpv208/test_with_statement.py index 709fa7b25..cfd90e790 100644 --- a/tests/protocols/gmpv208/test_with_statement.py +++ b/tests/protocols/gmpv208/test_with_statement.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from . import Gmpv208TestCase diff --git a/tests/protocols/gmpv214/__init__.py b/tests/protocols/gmpv214/__init__.py index bfd6aaded..894cd0b9c 100644 --- a/tests/protocols/gmpv214/__init__.py +++ b/tests/protocols/gmpv214/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv214 import Gmp diff --git a/tests/protocols/gmpv214/entities/__init__.py b/tests/protocols/gmpv214/entities/__init__.py index 6384df79b..bcfceaa60 100644 --- a/tests/protocols/gmpv214/entities/__init__.py +++ b/tests/protocols/gmpv214/entities/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv214/entities/notes/__init__.py b/tests/protocols/gmpv214/entities/notes/__init__.py index 568b04919..5ade3a35f 100644 --- a/tests/protocols/gmpv214/entities/notes/__init__.py +++ b/tests/protocols/gmpv214/entities/notes/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_note import GmpCreateNoteTestMixin from .test_modify_note import GmpModifyNoteTestMixin diff --git a/tests/protocols/gmpv214/entities/notes/test_create_note.py b/tests/protocols/gmpv214/entities/notes/test_create_note.py index efb38d3bd..6baa7c31d 100644 --- a/tests/protocols/gmpv214/entities/notes/test_create_note.py +++ b/tests/protocols/gmpv214/entities/notes/test_create_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv214/entities/notes/test_modify_note.py b/tests/protocols/gmpv214/entities/notes/test_modify_note.py index 2c080e5ed..1284a3fd2 100644 --- a/tests/protocols/gmpv214/entities/notes/test_modify_note.py +++ b/tests/protocols/gmpv214/entities/notes/test_modify_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv214/entities/overrides/__init__.py b/tests/protocols/gmpv214/entities/overrides/__init__.py index 2a75dbc95..9784893cf 100644 --- a/tests/protocols/gmpv214/entities/overrides/__init__.py +++ b/tests/protocols/gmpv214/entities/overrides/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_override import GmpCreateOverrideTestMixin from .test_modify_override import GmpModifyOverrideTestMixin diff --git a/tests/protocols/gmpv214/entities/overrides/test_create_override.py b/tests/protocols/gmpv214/entities/overrides/test_create_override.py index f6ade5eea..387249462 100644 --- a/tests/protocols/gmpv214/entities/overrides/test_create_override.py +++ b/tests/protocols/gmpv214/entities/overrides/test_create_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv214/entities/overrides/test_modify_override.py b/tests/protocols/gmpv214/entities/overrides/test_modify_override.py index e92afe6f9..ba6cb6b24 100644 --- a/tests/protocols/gmpv214/entities/overrides/test_modify_override.py +++ b/tests/protocols/gmpv214/entities/overrides/test_modify_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv214/entities/scanners/__init__.py b/tests/protocols/gmpv214/entities/scanners/__init__.py index 57fb27f5e..be250ae97 100644 --- a/tests/protocols/gmpv214/entities/scanners/__init__.py +++ b/tests/protocols/gmpv214/entities/scanners/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_scanner import GmpCreateScannerTestMixin from .test_modify_scanner import GmpModifyScannerTestMixin diff --git a/tests/protocols/gmpv214/entities/scanners/test_create_scanner.py b/tests/protocols/gmpv214/entities/scanners/test_create_scanner.py index 05e5cc1cf..af0ebdb22 100644 --- a/tests/protocols/gmpv214/entities/scanners/test_create_scanner.py +++ b/tests/protocols/gmpv214/entities/scanners/test_create_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv214 import ScannerType diff --git a/tests/protocols/gmpv214/entities/scanners/test_modify_scanner.py b/tests/protocols/gmpv214/entities/scanners/test_modify_scanner.py index 78f590ae5..4dd8a5245 100644 --- a/tests/protocols/gmpv214/entities/scanners/test_modify_scanner.py +++ b/tests/protocols/gmpv214/entities/scanners/test_modify_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv214 import ScannerType diff --git a/tests/protocols/gmpv214/entities/targets/__init__.py b/tests/protocols/gmpv214/entities/targets/__init__.py index 281337c3f..46d7dceb7 100644 --- a/tests/protocols/gmpv214/entities/targets/__init__.py +++ b/tests/protocols/gmpv214/entities/targets/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_target import GmpCreateTargetTestMixin from .test_modify_target import GmpModifyTargetTestMixin diff --git a/tests/protocols/gmpv214/entities/targets/test_create_target.py b/tests/protocols/gmpv214/entities/targets/test_create_target.py index 3dc8719c0..1c29ba347 100644 --- a/tests/protocols/gmpv214/entities/targets/test_create_target.py +++ b/tests/protocols/gmpv214/entities/targets/test_create_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv214.entities.targets import AliveTest diff --git a/tests/protocols/gmpv214/entities/targets/test_modify_target.py b/tests/protocols/gmpv214/entities/targets/test_modify_target.py index d5485db35..4ab53e914 100644 --- a/tests/protocols/gmpv214/entities/targets/test_modify_target.py +++ b/tests/protocols/gmpv214/entities/targets/test_modify_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv214.entities.targets import AliveTest diff --git a/tests/protocols/gmpv214/entities/test_alerts.py b/tests/protocols/gmpv214/entities/test_alerts.py index 106a8a3ab..822c4e6d2 100644 --- a/tests/protocols/gmpv214/entities/test_alerts.py +++ b/tests/protocols/gmpv214/entities/test_alerts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.alerts import ( GmpCloneAlertTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_audits.py b/tests/protocols/gmpv214/entities/test_audits.py index 726bcee31..c1832ba4e 100644 --- a/tests/protocols/gmpv214/entities/test_audits.py +++ b/tests/protocols/gmpv214/entities/test_audits.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.audits import ( GmpCloneAuditTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_credentials.py b/tests/protocols/gmpv214/entities/test_credentials.py index e78a5e1e2..d26b5cfcd 100644 --- a/tests/protocols/gmpv214/entities/test_credentials.py +++ b/tests/protocols/gmpv214/entities/test_credentials.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.credentials import ( GmpCloneCredentialTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_filters.py b/tests/protocols/gmpv214/entities/test_filters.py index 233cda4e3..9a47044ae 100644 --- a/tests/protocols/gmpv214/entities/test_filters.py +++ b/tests/protocols/gmpv214/entities/test_filters.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.filters import ( GmpCloneFilterTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_groups.py b/tests/protocols/gmpv214/entities/test_groups.py index 8a78c6722..d0737590b 100644 --- a/tests/protocols/gmpv214/entities/test_groups.py +++ b/tests/protocols/gmpv214/entities/test_groups.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.groups import ( GmpCloneGroupTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_hosts.py b/tests/protocols/gmpv214/entities/test_hosts.py index 86ce78f34..e5ca14fdc 100644 --- a/tests/protocols/gmpv214/entities/test_hosts.py +++ b/tests/protocols/gmpv214/entities/test_hosts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.hosts import ( GmpCreateHostTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_notes.py b/tests/protocols/gmpv214/entities/test_notes.py index 0146278e8..962db7b23 100644 --- a/tests/protocols/gmpv214/entities/test_notes.py +++ b/tests/protocols/gmpv214/entities/test_notes.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.notes import ( GmpCloneNoteTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_operating_systems.py b/tests/protocols/gmpv214/entities/test_operating_systems.py index eddbc73db..10c74355f 100644 --- a/tests/protocols/gmpv214/entities/test_operating_systems.py +++ b/tests/protocols/gmpv214/entities/test_operating_systems.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.operating_systems import ( GmpDeleteOperatingSystemTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_overrides.py b/tests/protocols/gmpv214/entities/test_overrides.py index e5773ab58..f75a78d32 100644 --- a/tests/protocols/gmpv214/entities/test_overrides.py +++ b/tests/protocols/gmpv214/entities/test_overrides.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.overrides import ( GmpCloneOverrideTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_permissions.py b/tests/protocols/gmpv214/entities/test_permissions.py index 1ca9710da..921879a90 100644 --- a/tests/protocols/gmpv214/entities/test_permissions.py +++ b/tests/protocols/gmpv214/entities/test_permissions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.permissions import ( GmpClonePermissionTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_policies.py b/tests/protocols/gmpv214/entities/test_policies.py index 1b16225ba..ed87cbde4 100644 --- a/tests/protocols/gmpv214/entities/test_policies.py +++ b/tests/protocols/gmpv214/entities/test_policies.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.policies import ( GmpClonePolicyTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_port_lists.py b/tests/protocols/gmpv214/entities/test_port_lists.py index 15edaf3ed..8d129c133 100644 --- a/tests/protocols/gmpv214/entities/test_port_lists.py +++ b/tests/protocols/gmpv214/entities/test_port_lists.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.port_lists import ( GmpClonePortListTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_report_formats.py b/tests/protocols/gmpv214/entities/test_report_formats.py index b08421d6e..2ac69ccc1 100644 --- a/tests/protocols/gmpv214/entities/test_report_formats.py +++ b/tests/protocols/gmpv214/entities/test_report_formats.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.report_formats import ( GmpCloneReportFormatTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_reports.py b/tests/protocols/gmpv214/entities/test_reports.py index 08761ce56..5d0c97bed 100644 --- a/tests/protocols/gmpv214/entities/test_reports.py +++ b/tests/protocols/gmpv214/entities/test_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.reports import ( GmpDeleteReportTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_results.py b/tests/protocols/gmpv214/entities/test_results.py index c6abc4bd2..679df1c7d 100644 --- a/tests/protocols/gmpv214/entities/test_results.py +++ b/tests/protocols/gmpv214/entities/test_results.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.results import ( GmpGetResultsTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_roles.py b/tests/protocols/gmpv214/entities/test_roles.py index c59dd8005..dbd6f42ab 100644 --- a/tests/protocols/gmpv214/entities/test_roles.py +++ b/tests/protocols/gmpv214/entities/test_roles.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.roles import ( GmpCloneRoleTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_scan_configs.py b/tests/protocols/gmpv214/entities/test_scan_configs.py index 7bdef3b3a..f6f46e2b9 100644 --- a/tests/protocols/gmpv214/entities/test_scan_configs.py +++ b/tests/protocols/gmpv214/entities/test_scan_configs.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.scan_configs import ( GmpCloneScanConfigTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_scanners.py b/tests/protocols/gmpv214/entities/test_scanners.py index dcbdea625..baeb45b6d 100644 --- a/tests/protocols/gmpv214/entities/test_scanners.py +++ b/tests/protocols/gmpv214/entities/test_scanners.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.scanners import ( GmpCloneScannerTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_schedules.py b/tests/protocols/gmpv214/entities/test_schedules.py index a190cf0a8..0547aee00 100644 --- a/tests/protocols/gmpv214/entities/test_schedules.py +++ b/tests/protocols/gmpv214/entities/test_schedules.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.schedules import ( GmpCloneScheduleTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_secinfo.py b/tests/protocols/gmpv214/entities/test_secinfo.py index a0471ed71..9fe6bb2fe 100644 --- a/tests/protocols/gmpv214/entities/test_secinfo.py +++ b/tests/protocols/gmpv214/entities/test_secinfo.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.secinfo import ( GmpGetCertBundListTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_tags.py b/tests/protocols/gmpv214/entities/test_tags.py index 9dd1c95c5..698761778 100644 --- a/tests/protocols/gmpv214/entities/test_tags.py +++ b/tests/protocols/gmpv214/entities/test_tags.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tags import ( GmpCloneTagTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_targets.py b/tests/protocols/gmpv214/entities/test_targets.py index d80942cb2..ee00cb8da 100644 --- a/tests/protocols/gmpv214/entities/test_targets.py +++ b/tests/protocols/gmpv214/entities/test_targets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.targets import ( GmpCloneTargetTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_tasks.py b/tests/protocols/gmpv214/entities/test_tasks.py index f149e960d..60234ac66 100644 --- a/tests/protocols/gmpv214/entities/test_tasks.py +++ b/tests/protocols/gmpv214/entities/test_tasks.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tasks import ( GmpCloneTaskTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_tickets.py b/tests/protocols/gmpv214/entities/test_tickets.py index 845b28502..b98e55379 100644 --- a/tests/protocols/gmpv214/entities/test_tickets.py +++ b/tests/protocols/gmpv214/entities/test_tickets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tickets import ( GmpCloneTicketTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_tls_certificates.py b/tests/protocols/gmpv214/entities/test_tls_certificates.py index 794d17b37..2e7589fa9 100644 --- a/tests/protocols/gmpv214/entities/test_tls_certificates.py +++ b/tests/protocols/gmpv214/entities/test_tls_certificates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tls_certificates import ( GmpCloneTLSCertificateTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_users.py b/tests/protocols/gmpv214/entities/test_users.py index 0844ad196..14dc22bb7 100644 --- a/tests/protocols/gmpv214/entities/test_users.py +++ b/tests/protocols/gmpv214/entities/test_users.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.users import ( GmpCloneUserTestMixin, diff --git a/tests/protocols/gmpv214/entities/test_vulnerabilities.py b/tests/protocols/gmpv214/entities/test_vulnerabilities.py index 64191577a..b59d42dc8 100644 --- a/tests/protocols/gmpv214/entities/test_vulnerabilities.py +++ b/tests/protocols/gmpv214/entities/test_vulnerabilities.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.vulnerabilities import ( GmpGetVulnerabilitiesTestMixin, diff --git a/tests/protocols/gmpv214/entities/users/__init__.py b/tests/protocols/gmpv214/entities/users/__init__.py index 60acf4804..a78bae157 100644 --- a/tests/protocols/gmpv214/entities/users/__init__.py +++ b/tests/protocols/gmpv214/entities/users/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_modify_user import GmpModifyUserTestMixin diff --git a/tests/protocols/gmpv214/entities/users/test_modify_user.py b/tests/protocols/gmpv214/entities/users/test_modify_user.py index 35c6ac820..68facf59e 100644 --- a/tests/protocols/gmpv214/entities/users/test_modify_user.py +++ b/tests/protocols/gmpv214/entities/users/test_modify_user.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument from gvm.protocols.gmpv214 import UserAuthType diff --git a/tests/protocols/gmpv214/enums/__init__.py b/tests/protocols/gmpv214/enums/__init__.py index e32115d27..41d1402cd 100644 --- a/tests/protocols/gmpv214/enums/__init__.py +++ b/tests/protocols/gmpv214/enums/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv214/enums/test_aggregate_statistic.py b/tests/protocols/gmpv214/enums/test_aggregate_statistic.py index c81542900..d84dc7676 100644 --- a/tests/protocols/gmpv214/enums/test_aggregate_statistic.py +++ b/tests/protocols/gmpv214/enums/test_aggregate_statistic.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_alert_condition.py b/tests/protocols/gmpv214/enums/test_alert_condition.py index f748a9ee5..95fd6b9ea 100644 --- a/tests/protocols/gmpv214/enums/test_alert_condition.py +++ b/tests/protocols/gmpv214/enums/test_alert_condition.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_alert_event.py b/tests/protocols/gmpv214/enums/test_alert_event.py index 1df32e839..23d53eed5 100644 --- a/tests/protocols/gmpv214/enums/test_alert_event.py +++ b/tests/protocols/gmpv214/enums/test_alert_event.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_alert_method.py b/tests/protocols/gmpv214/enums/test_alert_method.py index 8b272f20a..4a09ab1b2 100644 --- a/tests/protocols/gmpv214/enums/test_alert_method.py +++ b/tests/protocols/gmpv214/enums/test_alert_method.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_alive_test.py b/tests/protocols/gmpv214/enums/test_alive_test.py index 3d70272c5..8674b00ad 100644 --- a/tests/protocols/gmpv214/enums/test_alive_test.py +++ b/tests/protocols/gmpv214/enums/test_alive_test.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_credential_format.py b/tests/protocols/gmpv214/enums/test_credential_format.py index 331c65317..aa09c92cc 100644 --- a/tests/protocols/gmpv214/enums/test_credential_format.py +++ b/tests/protocols/gmpv214/enums/test_credential_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_credential_type.py b/tests/protocols/gmpv214/enums/test_credential_type.py index a0b041967..51a7358f8 100644 --- a/tests/protocols/gmpv214/enums/test_credential_type.py +++ b/tests/protocols/gmpv214/enums/test_credential_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_entity_type.py b/tests/protocols/gmpv214/enums/test_entity_type.py index d42342ace..7582bf02e 100644 --- a/tests/protocols/gmpv214/enums/test_entity_type.py +++ b/tests/protocols/gmpv214/enums/test_entity_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_feed_type.py b/tests/protocols/gmpv214/enums/test_feed_type.py index ed884b930..e9ddda256 100644 --- a/tests/protocols/gmpv214/enums/test_feed_type.py +++ b/tests/protocols/gmpv214/enums/test_feed_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_filter_type.py b/tests/protocols/gmpv214/enums/test_filter_type.py index 8b020abfd..905e69925 100644 --- a/tests/protocols/gmpv214/enums/test_filter_type.py +++ b/tests/protocols/gmpv214/enums/test_filter_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_help_format.py b/tests/protocols/gmpv214/enums/test_help_format.py index ed3bc1863..8f594ce77 100644 --- a/tests/protocols/gmpv214/enums/test_help_format.py +++ b/tests/protocols/gmpv214/enums/test_help_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_hosts_ordering.py b/tests/protocols/gmpv214/enums/test_hosts_ordering.py index 6f5949d44..84c0146ba 100644 --- a/tests/protocols/gmpv214/enums/test_hosts_ordering.py +++ b/tests/protocols/gmpv214/enums/test_hosts_ordering.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_info_type.py b/tests/protocols/gmpv214/enums/test_info_type.py index bc59677bf..d91dd8951 100644 --- a/tests/protocols/gmpv214/enums/test_info_type.py +++ b/tests/protocols/gmpv214/enums/test_info_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_permission_subject_type.py b/tests/protocols/gmpv214/enums/test_permission_subject_type.py index d2ba875cf..e3e67d53a 100644 --- a/tests/protocols/gmpv214/enums/test_permission_subject_type.py +++ b/tests/protocols/gmpv214/enums/test_permission_subject_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_port_range_type.py b/tests/protocols/gmpv214/enums/test_port_range_type.py index 9d7cb5054..e4ca6f90a 100644 --- a/tests/protocols/gmpv214/enums/test_port_range_type.py +++ b/tests/protocols/gmpv214/enums/test_port_range_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_report_format_type.py b/tests/protocols/gmpv214/enums/test_report_format_type.py index b63e4019d..69457596d 100644 --- a/tests/protocols/gmpv214/enums/test_report_format_type.py +++ b/tests/protocols/gmpv214/enums/test_report_format_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_scanner_type.py b/tests/protocols/gmpv214/enums/test_scanner_type.py index 2a78a9d01..8ac4bbe36 100644 --- a/tests/protocols/gmpv214/enums/test_scanner_type.py +++ b/tests/protocols/gmpv214/enums/test_scanner_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_severity_level.py b/tests/protocols/gmpv214/enums/test_severity_level.py index 2d4934410..21cc77d71 100644 --- a/tests/protocols/gmpv214/enums/test_severity_level.py +++ b/tests/protocols/gmpv214/enums/test_severity_level.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_snmp_algorithms.py b/tests/protocols/gmpv214/enums/test_snmp_algorithms.py index ee5f53077..74c8d10c6 100644 --- a/tests/protocols/gmpv214/enums/test_snmp_algorithms.py +++ b/tests/protocols/gmpv214/enums/test_snmp_algorithms.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_sort_order.py b/tests/protocols/gmpv214/enums/test_sort_order.py index 29a305ad5..f37e7edb3 100644 --- a/tests/protocols/gmpv214/enums/test_sort_order.py +++ b/tests/protocols/gmpv214/enums/test_sort_order.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_ticket_status.py b/tests/protocols/gmpv214/enums/test_ticket_status.py index c1ce9df2f..fed517462 100644 --- a/tests/protocols/gmpv214/enums/test_ticket_status.py +++ b/tests/protocols/gmpv214/enums/test_ticket_status.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/enums/test_user_auth_type.py b/tests/protocols/gmpv214/enums/test_user_auth_type.py index f438e98b1..c60451f47 100644 --- a/tests/protocols/gmpv214/enums/test_user_auth_type.py +++ b/tests/protocols/gmpv214/enums/test_user_auth_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv214/system/__init__.py b/tests/protocols/gmpv214/system/__init__.py index 6384df79b..bcfceaa60 100644 --- a/tests/protocols/gmpv214/system/__init__.py +++ b/tests/protocols/gmpv214/system/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv214/system/test_aggregates.py b/tests/protocols/gmpv214/system/test_aggregates.py index e08e5cf79..7097dc9f4 100644 --- a/tests/protocols/gmpv214/system/test_aggregates.py +++ b/tests/protocols/gmpv214/system/test_aggregates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.aggregates import GmpGetAggregatesTestMixin from ...gmpv214 import Gmpv214TestCase diff --git a/tests/protocols/gmpv214/system/test_authentication.py b/tests/protocols/gmpv214/system/test_authentication.py index a72d84ff5..3b49dfe97 100644 --- a/tests/protocols/gmpv214/system/test_authentication.py +++ b/tests/protocols/gmpv214/system/test_authentication.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.authentication import ( GmpAuthenticateTestMixin, diff --git a/tests/protocols/gmpv214/system/test_feed.py b/tests/protocols/gmpv214/system/test_feed.py index 80f15237c..0e97f9dae 100644 --- a/tests/protocols/gmpv214/system/test_feed.py +++ b/tests/protocols/gmpv214/system/test_feed.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.feed import GmpGetFeedsTestMixin, GmpGetFeedTestMixin from ...gmpv214 import Gmpv214TestCase diff --git a/tests/protocols/gmpv214/system/test_help.py b/tests/protocols/gmpv214/system/test_help.py index 505442c9e..cf31590b1 100644 --- a/tests/protocols/gmpv214/system/test_help.py +++ b/tests/protocols/gmpv214/system/test_help.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.help import GmpHelpTestMixin from ...gmpv214 import Gmpv214TestCase diff --git a/tests/protocols/gmpv214/system/test_system_reports.py b/tests/protocols/gmpv214/system/test_system_reports.py index 9d2431d72..a116ae947 100644 --- a/tests/protocols/gmpv214/system/test_system_reports.py +++ b/tests/protocols/gmpv214/system/test_system_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.system_reports import GmpGetSystemReportsTestMixin from ...gmpv214 import Gmpv214TestCase diff --git a/tests/protocols/gmpv214/system/test_trashcan.py b/tests/protocols/gmpv214/system/test_trashcan.py index 61f861958..8ae1c8936 100644 --- a/tests/protocols/gmpv214/system/test_trashcan.py +++ b/tests/protocols/gmpv214/system/test_trashcan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.trashcan import ( GmpEmptyTrashcanTestMixin, diff --git a/tests/protocols/gmpv214/system/test_user_settings.py b/tests/protocols/gmpv214/system/test_user_settings.py index 1905c1a22..f31de3932 100644 --- a/tests/protocols/gmpv214/system/test_user_settings.py +++ b/tests/protocols/gmpv214/system/test_user_settings.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.user_settings import ( GmpGetUserSettingsTestMixin, diff --git a/tests/protocols/gmpv214/system/test_versions.py b/tests/protocols/gmpv214/system/test_versions.py index 6710f9032..fd26ceba1 100644 --- a/tests/protocols/gmpv214/system/test_versions.py +++ b/tests/protocols/gmpv214/system/test_versions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.versions import GmpGetVersionTestCase from ...gmpv214 import Gmpv214TestCase diff --git a/tests/protocols/gmpv214/system/versions/__init__.py b/tests/protocols/gmpv214/system/versions/__init__.py index 92034ce86..90764e183 100644 --- a/tests/protocols/gmpv214/system/versions/__init__.py +++ b/tests/protocols/gmpv214/system/versions/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_protocol_version import GmpGetProtocolVersionTestCase diff --git a/tests/protocols/gmpv214/system/versions/test_get_protocol_version.py b/tests/protocols/gmpv214/system/versions/test_get_protocol_version.py index 934798d2d..6baefa698 100644 --- a/tests/protocols/gmpv214/system/versions/test_get_protocol_version.py +++ b/tests/protocols/gmpv214/system/versions/test_get_protocol_version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetProtocolVersionTestCase: diff --git a/tests/protocols/gmpv214/test_gmp_types.py b/tests/protocols/gmpv214/test_gmp_types.py index f055b5a8f..c18d9ae34 100644 --- a/tests/protocols/gmpv214/test_gmp_types.py +++ b/tests/protocols/gmpv214/test_gmp_types.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv208.entities.hosts import HostsOrdering diff --git a/tests/protocols/gmpv214/test_with_statement.py b/tests/protocols/gmpv214/test_with_statement.py index 0c72371a1..0341d3d1e 100644 --- a/tests/protocols/gmpv214/test_with_statement.py +++ b/tests/protocols/gmpv214/test_with_statement.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from . import Gmpv214TestCase diff --git a/tests/protocols/gmpv224/__init__.py b/tests/protocols/gmpv224/__init__.py index d66cda41d..9a31eb4b8 100644 --- a/tests/protocols/gmpv224/__init__.py +++ b/tests/protocols/gmpv224/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv224 import Gmp diff --git a/tests/protocols/gmpv224/entities/__init__.py b/tests/protocols/gmpv224/entities/__init__.py index 6384df79b..bcfceaa60 100644 --- a/tests/protocols/gmpv224/entities/__init__.py +++ b/tests/protocols/gmpv224/entities/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv224/entities/notes/__init__.py b/tests/protocols/gmpv224/entities/notes/__init__.py index 568b04919..5ade3a35f 100644 --- a/tests/protocols/gmpv224/entities/notes/__init__.py +++ b/tests/protocols/gmpv224/entities/notes/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_note import GmpCreateNoteTestMixin from .test_modify_note import GmpModifyNoteTestMixin diff --git a/tests/protocols/gmpv224/entities/notes/test_create_note.py b/tests/protocols/gmpv224/entities/notes/test_create_note.py index a17d573e0..96b5e4f7f 100644 --- a/tests/protocols/gmpv224/entities/notes/test_create_note.py +++ b/tests/protocols/gmpv224/entities/notes/test_create_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv224/entities/notes/test_modify_note.py b/tests/protocols/gmpv224/entities/notes/test_modify_note.py index 3c1c00847..fc6611347 100644 --- a/tests/protocols/gmpv224/entities/notes/test_modify_note.py +++ b/tests/protocols/gmpv224/entities/notes/test_modify_note.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv224/entities/overrides/__init__.py b/tests/protocols/gmpv224/entities/overrides/__init__.py index 2a75dbc95..9784893cf 100644 --- a/tests/protocols/gmpv224/entities/overrides/__init__.py +++ b/tests/protocols/gmpv224/entities/overrides/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_override import GmpCreateOverrideTestMixin from .test_modify_override import GmpModifyOverrideTestMixin diff --git a/tests/protocols/gmpv224/entities/overrides/test_create_override.py b/tests/protocols/gmpv224/entities/overrides/test_create_override.py index 18e26e909..8d94d0847 100644 --- a/tests/protocols/gmpv224/entities/overrides/test_create_override.py +++ b/tests/protocols/gmpv224/entities/overrides/test_create_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv224/entities/overrides/test_modify_override.py b/tests/protocols/gmpv224/entities/overrides/test_modify_override.py index 89465e76d..14ecce9ef 100644 --- a/tests/protocols/gmpv224/entities/overrides/test_modify_override.py +++ b/tests/protocols/gmpv224/entities/overrides/test_modify_override.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from decimal import Decimal diff --git a/tests/protocols/gmpv224/entities/scan_configs/__init__.py b/tests/protocols/gmpv224/entities/scan_configs/__init__.py index 3da573800..7ad10437a 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/__init__.py +++ b/tests/protocols/gmpv224/entities/scan_configs/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_clone_scan_config import GmpCloneScanConfigTestMixin from .test_create_scan_config import GmpCreateScanConfigTestMixin diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_clone_scan_config.py b/tests/protocols/gmpv224/entities/scan_configs/test_clone_scan_config.py index b78d5f729..3ab56ab2e 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_clone_scan_config.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_clone_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_create_scan_config.py b/tests/protocols/gmpv224/entities/scan_configs/test_create_scan_config.py index c71b1319d..abdd60751 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_create_scan_config.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_create_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_delete_scan_config.py b/tests/protocols/gmpv224/entities/scan_configs/test_delete_scan_config.py index 2b2699a5f..d07a2c9cc 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_delete_scan_config.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_delete_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config.py b/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config.py index 8e232454b..86a0fcbd3 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import GvmError diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preference.py b/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preference.py index ff49ee6f4..807bac826 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preference.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preferences.py b/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preferences.py index 10330deab..5fa8093f0 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preferences.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preferences.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetScanConfigPreferencesTestMixin: diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_configs.py b/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_configs.py index 7852d2f4b..f11d5e874 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_configs.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_configs.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetScanConfigsTestMixin: diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_import_scan_config.py b/tests/protocols/gmpv224/entities/scan_configs/test_import_scan_config.py index 722f50523..8873d368f 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_import_scan_config.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_import_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config.py b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config.py index 7d65f65c4..b3530a030 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import warnings from gvm.errors import InvalidArgument, RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_comment.py b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_comment.py index 6989cb614..3fac21010 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_comment.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_comment.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_family_selection.py b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_family_selection.py index 966687322..2b00eb4cc 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_family_selection.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_family_selection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgument, InvalidArgumentType, RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_name.py b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_name.py index 72486fdd6..f4481e76f 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_name.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_name.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py index 7ce8c9958..59aba32b9 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py index e2670b533..aae8df6da 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py index fa11c7565..c43ab72d2 100644 --- a/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +++ b/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import RequiredArgument diff --git a/tests/protocols/gmpv224/entities/scanners/__init__.py b/tests/protocols/gmpv224/entities/scanners/__init__.py index 57fb27f5e..be250ae97 100644 --- a/tests/protocols/gmpv224/entities/scanners/__init__.py +++ b/tests/protocols/gmpv224/entities/scanners/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_scanner import GmpCreateScannerTestMixin from .test_modify_scanner import GmpModifyScannerTestMixin diff --git a/tests/protocols/gmpv224/entities/scanners/test_create_scanner.py b/tests/protocols/gmpv224/entities/scanners/test_create_scanner.py index 3dbbe63b0..f7f383091 100644 --- a/tests/protocols/gmpv224/entities/scanners/test_create_scanner.py +++ b/tests/protocols/gmpv224/entities/scanners/test_create_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv224 import ScannerType diff --git a/tests/protocols/gmpv224/entities/scanners/test_modify_scanner.py b/tests/protocols/gmpv224/entities/scanners/test_modify_scanner.py index b54d99fb3..5abbe8d4a 100644 --- a/tests/protocols/gmpv224/entities/scanners/test_modify_scanner.py +++ b/tests/protocols/gmpv224/entities/scanners/test_modify_scanner.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv224 import ScannerType diff --git a/tests/protocols/gmpv224/entities/targets/__init__.py b/tests/protocols/gmpv224/entities/targets/__init__.py index 281337c3f..46d7dceb7 100644 --- a/tests/protocols/gmpv224/entities/targets/__init__.py +++ b/tests/protocols/gmpv224/entities/targets/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_target import GmpCreateTargetTestMixin from .test_modify_target import GmpModifyTargetTestMixin diff --git a/tests/protocols/gmpv224/entities/targets/test_create_target.py b/tests/protocols/gmpv224/entities/targets/test_create_target.py index 9a9df005e..24e50bf73 100644 --- a/tests/protocols/gmpv224/entities/targets/test_create_target.py +++ b/tests/protocols/gmpv224/entities/targets/test_create_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv224 import AliveTest diff --git a/tests/protocols/gmpv224/entities/targets/test_modify_target.py b/tests/protocols/gmpv224/entities/targets/test_modify_target.py index d5485db35..4ab53e914 100644 --- a/tests/protocols/gmpv224/entities/targets/test_modify_target.py +++ b/tests/protocols/gmpv224/entities/targets/test_modify_target.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv214.entities.targets import AliveTest diff --git a/tests/protocols/gmpv224/entities/test_alerts.py b/tests/protocols/gmpv224/entities/test_alerts.py index 7b4e1db22..ad04ace22 100644 --- a/tests/protocols/gmpv224/entities/test_alerts.py +++ b/tests/protocols/gmpv224/entities/test_alerts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.alerts import ( GmpCloneAlertTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_audits.py b/tests/protocols/gmpv224/entities/test_audits.py index fcca531f1..73ff14450 100644 --- a/tests/protocols/gmpv224/entities/test_audits.py +++ b/tests/protocols/gmpv224/entities/test_audits.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.audits import ( GmpCloneAuditTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_credentials.py b/tests/protocols/gmpv224/entities/test_credentials.py index d90450f7c..d80dc7478 100644 --- a/tests/protocols/gmpv224/entities/test_credentials.py +++ b/tests/protocols/gmpv224/entities/test_credentials.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.credentials import ( GmpCloneCredentialTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_filters.py b/tests/protocols/gmpv224/entities/test_filters.py index e609832dc..104ad3ac9 100644 --- a/tests/protocols/gmpv224/entities/test_filters.py +++ b/tests/protocols/gmpv224/entities/test_filters.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.filters import ( GmpCloneFilterTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_groups.py b/tests/protocols/gmpv224/entities/test_groups.py index 6af825346..eb34fae0a 100644 --- a/tests/protocols/gmpv224/entities/test_groups.py +++ b/tests/protocols/gmpv224/entities/test_groups.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.groups import ( GmpCloneGroupTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_hosts.py b/tests/protocols/gmpv224/entities/test_hosts.py index 50a75d6d2..e4a8d0cec 100644 --- a/tests/protocols/gmpv224/entities/test_hosts.py +++ b/tests/protocols/gmpv224/entities/test_hosts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.hosts import ( GmpCreateHostTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_notes.py b/tests/protocols/gmpv224/entities/test_notes.py index 023a9946c..adce4da57 100644 --- a/tests/protocols/gmpv224/entities/test_notes.py +++ b/tests/protocols/gmpv224/entities/test_notes.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.notes import ( GmpCloneNoteTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_operating_systems.py b/tests/protocols/gmpv224/entities/test_operating_systems.py index ec1663ac9..0ba1a4c68 100644 --- a/tests/protocols/gmpv224/entities/test_operating_systems.py +++ b/tests/protocols/gmpv224/entities/test_operating_systems.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.operating_systems import ( GmpDeleteOperatingSystemTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_overrides.py b/tests/protocols/gmpv224/entities/test_overrides.py index e5b10cc00..cb57a94c8 100644 --- a/tests/protocols/gmpv224/entities/test_overrides.py +++ b/tests/protocols/gmpv224/entities/test_overrides.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.overrides import ( GmpCloneOverrideTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_permissions.py b/tests/protocols/gmpv224/entities/test_permissions.py index 728c2f0c0..4fc527f8b 100644 --- a/tests/protocols/gmpv224/entities/test_permissions.py +++ b/tests/protocols/gmpv224/entities/test_permissions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.permissions import ( GmpClonePermissionTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_policies.py b/tests/protocols/gmpv224/entities/test_policies.py index fa8991687..584a60556 100644 --- a/tests/protocols/gmpv224/entities/test_policies.py +++ b/tests/protocols/gmpv224/entities/test_policies.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.policies import ( GmpClonePolicyTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_port_lists.py b/tests/protocols/gmpv224/entities/test_port_lists.py index 35e35d4d7..634dc1517 100644 --- a/tests/protocols/gmpv224/entities/test_port_lists.py +++ b/tests/protocols/gmpv224/entities/test_port_lists.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.port_lists import ( GmpClonePortListTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_report_formats.py b/tests/protocols/gmpv224/entities/test_report_formats.py index 646e95212..c57e5483c 100644 --- a/tests/protocols/gmpv224/entities/test_report_formats.py +++ b/tests/protocols/gmpv224/entities/test_report_formats.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.report_formats import ( GmpCloneReportFormatTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_reports.py b/tests/protocols/gmpv224/entities/test_reports.py index 43c00d62e..195506bb7 100644 --- a/tests/protocols/gmpv224/entities/test_reports.py +++ b/tests/protocols/gmpv224/entities/test_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.reports import ( GmpDeleteReportTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_results.py b/tests/protocols/gmpv224/entities/test_results.py index 7cbb6098f..751b9b294 100644 --- a/tests/protocols/gmpv224/entities/test_results.py +++ b/tests/protocols/gmpv224/entities/test_results.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.results import ( GmpGetResultsTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_roles.py b/tests/protocols/gmpv224/entities/test_roles.py index 9ffc09749..6c04a3a79 100644 --- a/tests/protocols/gmpv224/entities/test_roles.py +++ b/tests/protocols/gmpv224/entities/test_roles.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.roles import ( GmpCloneRoleTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_scan_configs.py b/tests/protocols/gmpv224/entities/test_scan_configs.py index ac1ad6fb5..013772fbb 100644 --- a/tests/protocols/gmpv224/entities/test_scan_configs.py +++ b/tests/protocols/gmpv224/entities/test_scan_configs.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv224 import Gmpv224TestCase from ...gmpv224.entities.scan_configs import ( diff --git a/tests/protocols/gmpv224/entities/test_scanners.py b/tests/protocols/gmpv224/entities/test_scanners.py index 5b19a0b7d..444389a08 100644 --- a/tests/protocols/gmpv224/entities/test_scanners.py +++ b/tests/protocols/gmpv224/entities/test_scanners.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.scanners import ( GmpCloneScannerTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_schedules.py b/tests/protocols/gmpv224/entities/test_schedules.py index a9ca8d744..0df248593 100644 --- a/tests/protocols/gmpv224/entities/test_schedules.py +++ b/tests/protocols/gmpv224/entities/test_schedules.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.schedules import ( GmpCloneScheduleTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_secinfo.py b/tests/protocols/gmpv224/entities/test_secinfo.py index 9b3e31b16..ace7591a3 100644 --- a/tests/protocols/gmpv224/entities/test_secinfo.py +++ b/tests/protocols/gmpv224/entities/test_secinfo.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.secinfo import ( GmpGetCertBundListTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_tags.py b/tests/protocols/gmpv224/entities/test_tags.py index 155dfbe77..11a10a8e7 100644 --- a/tests/protocols/gmpv224/entities/test_tags.py +++ b/tests/protocols/gmpv224/entities/test_tags.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tags import ( GmpCloneTagTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_targets.py b/tests/protocols/gmpv224/entities/test_targets.py index 1ee6e6b32..6c73bd2f0 100644 --- a/tests/protocols/gmpv224/entities/test_targets.py +++ b/tests/protocols/gmpv224/entities/test_targets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.targets import ( GmpCloneTargetTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_tasks.py b/tests/protocols/gmpv224/entities/test_tasks.py index 3d9cacbdd..6fbe1dfaf 100644 --- a/tests/protocols/gmpv224/entities/test_tasks.py +++ b/tests/protocols/gmpv224/entities/test_tasks.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tasks import ( GmpCloneTaskTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_tickets.py b/tests/protocols/gmpv224/entities/test_tickets.py index b3d6a3840..b240949db 100644 --- a/tests/protocols/gmpv224/entities/test_tickets.py +++ b/tests/protocols/gmpv224/entities/test_tickets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tickets import ( GmpCloneTicketTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_tls_certificates.py b/tests/protocols/gmpv224/entities/test_tls_certificates.py index 289acca06..4e04065be 100644 --- a/tests/protocols/gmpv224/entities/test_tls_certificates.py +++ b/tests/protocols/gmpv224/entities/test_tls_certificates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tls_certificates import ( GmpCloneTLSCertificateTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_users.py b/tests/protocols/gmpv224/entities/test_users.py index 61eb7bd61..e2d781813 100644 --- a/tests/protocols/gmpv224/entities/test_users.py +++ b/tests/protocols/gmpv224/entities/test_users.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.users import ( GmpCloneUserTestMixin, diff --git a/tests/protocols/gmpv224/entities/test_vulnerabilities.py b/tests/protocols/gmpv224/entities/test_vulnerabilities.py index 2bb8c895e..e9717423d 100644 --- a/tests/protocols/gmpv224/entities/test_vulnerabilities.py +++ b/tests/protocols/gmpv224/entities/test_vulnerabilities.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.vulnerabilities import ( GmpGetVulnerabilitiesTestMixin, diff --git a/tests/protocols/gmpv224/entities/users/__init__.py b/tests/protocols/gmpv224/entities/users/__init__.py index 1a79e9a28..e3bfc7093 100644 --- a/tests/protocols/gmpv224/entities/users/__init__.py +++ b/tests/protocols/gmpv224/entities/users/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_create_user import GmpCreateUserTestMixin from .test_modify_user import GmpModifyUserTestMixin diff --git a/tests/protocols/gmpv224/entities/users/test_create_user.py b/tests/protocols/gmpv224/entities/users/test_create_user.py index 1351f7201..0ab3fbd6e 100644 --- a/tests/protocols/gmpv224/entities/users/test_create_user.py +++ b/tests/protocols/gmpv224/entities/users/test_create_user.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from unittest.mock import call, patch diff --git a/tests/protocols/gmpv224/entities/users/test_modify_user.py b/tests/protocols/gmpv224/entities/users/test_modify_user.py index 9976702af..4ff51b61c 100644 --- a/tests/protocols/gmpv224/entities/users/test_modify_user.py +++ b/tests/protocols/gmpv224/entities/users/test_modify_user.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from unittest.mock import call, patch diff --git a/tests/protocols/gmpv224/enums/__init__.py b/tests/protocols/gmpv224/enums/__init__.py index e32115d27..41d1402cd 100644 --- a/tests/protocols/gmpv224/enums/__init__.py +++ b/tests/protocols/gmpv224/enums/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv224/enums/test_aggregate_statistic.py b/tests/protocols/gmpv224/enums/test_aggregate_statistic.py index c81542900..d84dc7676 100644 --- a/tests/protocols/gmpv224/enums/test_aggregate_statistic.py +++ b/tests/protocols/gmpv224/enums/test_aggregate_statistic.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_alert_condition.py b/tests/protocols/gmpv224/enums/test_alert_condition.py index 59c32c8ba..5e942ad0f 100644 --- a/tests/protocols/gmpv224/enums/test_alert_condition.py +++ b/tests/protocols/gmpv224/enums/test_alert_condition.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_alert_event.py b/tests/protocols/gmpv224/enums/test_alert_event.py index 802fcdaae..bd7c03a30 100644 --- a/tests/protocols/gmpv224/enums/test_alert_event.py +++ b/tests/protocols/gmpv224/enums/test_alert_event.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_alert_method.py b/tests/protocols/gmpv224/enums/test_alert_method.py index 201d94e4e..e66c973b8 100644 --- a/tests/protocols/gmpv224/enums/test_alert_method.py +++ b/tests/protocols/gmpv224/enums/test_alert_method.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_alive_test.py b/tests/protocols/gmpv224/enums/test_alive_test.py index d077f3b8c..d57a869dd 100644 --- a/tests/protocols/gmpv224/enums/test_alive_test.py +++ b/tests/protocols/gmpv224/enums/test_alive_test.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_credential_format.py b/tests/protocols/gmpv224/enums/test_credential_format.py index 55cc24c28..de9ecbe98 100644 --- a/tests/protocols/gmpv224/enums/test_credential_format.py +++ b/tests/protocols/gmpv224/enums/test_credential_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_credential_type.py b/tests/protocols/gmpv224/enums/test_credential_type.py index da3a17359..4a63b4888 100644 --- a/tests/protocols/gmpv224/enums/test_credential_type.py +++ b/tests/protocols/gmpv224/enums/test_credential_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_entity_type.py b/tests/protocols/gmpv224/enums/test_entity_type.py index 9817024e2..87219f793 100644 --- a/tests/protocols/gmpv224/enums/test_entity_type.py +++ b/tests/protocols/gmpv224/enums/test_entity_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_feed_type.py b/tests/protocols/gmpv224/enums/test_feed_type.py index d1fc468be..ba067921d 100644 --- a/tests/protocols/gmpv224/enums/test_feed_type.py +++ b/tests/protocols/gmpv224/enums/test_feed_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_filter_type.py b/tests/protocols/gmpv224/enums/test_filter_type.py index 19367f820..71216cb13 100644 --- a/tests/protocols/gmpv224/enums/test_filter_type.py +++ b/tests/protocols/gmpv224/enums/test_filter_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_help_format.py b/tests/protocols/gmpv224/enums/test_help_format.py index c0a41b740..58103807a 100644 --- a/tests/protocols/gmpv224/enums/test_help_format.py +++ b/tests/protocols/gmpv224/enums/test_help_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_hosts_ordering.py b/tests/protocols/gmpv224/enums/test_hosts_ordering.py index ef456a118..2f54dec3d 100644 --- a/tests/protocols/gmpv224/enums/test_hosts_ordering.py +++ b/tests/protocols/gmpv224/enums/test_hosts_ordering.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_info_type.py b/tests/protocols/gmpv224/enums/test_info_type.py index a0dc2d829..57c643d75 100644 --- a/tests/protocols/gmpv224/enums/test_info_type.py +++ b/tests/protocols/gmpv224/enums/test_info_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_permission_subject_type.py b/tests/protocols/gmpv224/enums/test_permission_subject_type.py index 3c6306185..e1bdb1802 100644 --- a/tests/protocols/gmpv224/enums/test_permission_subject_type.py +++ b/tests/protocols/gmpv224/enums/test_permission_subject_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_port_range_type.py b/tests/protocols/gmpv224/enums/test_port_range_type.py index 20df4df63..c6741ae94 100644 --- a/tests/protocols/gmpv224/enums/test_port_range_type.py +++ b/tests/protocols/gmpv224/enums/test_port_range_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_report_format_type.py b/tests/protocols/gmpv224/enums/test_report_format_type.py index ee0de65a8..a4f95a96f 100644 --- a/tests/protocols/gmpv224/enums/test_report_format_type.py +++ b/tests/protocols/gmpv224/enums/test_report_format_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_scanner_type.py b/tests/protocols/gmpv224/enums/test_scanner_type.py index 0c27eb637..dac182ae7 100644 --- a/tests/protocols/gmpv224/enums/test_scanner_type.py +++ b/tests/protocols/gmpv224/enums/test_scanner_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_severity_level.py b/tests/protocols/gmpv224/enums/test_severity_level.py index 752e7f445..4acf58714 100644 --- a/tests/protocols/gmpv224/enums/test_severity_level.py +++ b/tests/protocols/gmpv224/enums/test_severity_level.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_snmp_algorithms.py b/tests/protocols/gmpv224/enums/test_snmp_algorithms.py index ae8eeb9da..492c86013 100644 --- a/tests/protocols/gmpv224/enums/test_snmp_algorithms.py +++ b/tests/protocols/gmpv224/enums/test_snmp_algorithms.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_sort_order.py b/tests/protocols/gmpv224/enums/test_sort_order.py index edcbf62ac..f6c4a077e 100644 --- a/tests/protocols/gmpv224/enums/test_sort_order.py +++ b/tests/protocols/gmpv224/enums/test_sort_order.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_ticket_status.py b/tests/protocols/gmpv224/enums/test_ticket_status.py index 7b290f172..f4c79f3ae 100644 --- a/tests/protocols/gmpv224/enums/test_ticket_status.py +++ b/tests/protocols/gmpv224/enums/test_ticket_status.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/enums/test_user_auth_type.py b/tests/protocols/gmpv224/enums/test_user_auth_type.py index 4321d5e0b..67cfc5817 100644 --- a/tests/protocols/gmpv224/enums/test_user_auth_type.py +++ b/tests/protocols/gmpv224/enums/test_user_auth_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv224/system/__init__.py b/tests/protocols/gmpv224/system/__init__.py index 6384df79b..bcfceaa60 100644 --- a/tests/protocols/gmpv224/system/__init__.py +++ b/tests/protocols/gmpv224/system/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv224/system/test_aggregates.py b/tests/protocols/gmpv224/system/test_aggregates.py index 64a3d546a..cba0b1537 100644 --- a/tests/protocols/gmpv224/system/test_aggregates.py +++ b/tests/protocols/gmpv224/system/test_aggregates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.aggregates import GmpGetAggregatesTestMixin from ...gmpv224 import Gmpv224TestCase diff --git a/tests/protocols/gmpv224/system/test_authentication.py b/tests/protocols/gmpv224/system/test_authentication.py index 34f440d62..6bd4dfa15 100644 --- a/tests/protocols/gmpv224/system/test_authentication.py +++ b/tests/protocols/gmpv224/system/test_authentication.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.authentication import ( GmpAuthenticateTestMixin, diff --git a/tests/protocols/gmpv224/system/test_feed.py b/tests/protocols/gmpv224/system/test_feed.py index beac4b720..291580329 100644 --- a/tests/protocols/gmpv224/system/test_feed.py +++ b/tests/protocols/gmpv224/system/test_feed.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.feed import GmpGetFeedsTestMixin, GmpGetFeedTestMixin from ...gmpv224 import Gmpv224TestCase diff --git a/tests/protocols/gmpv224/system/test_help.py b/tests/protocols/gmpv224/system/test_help.py index 95d480922..729ba928d 100644 --- a/tests/protocols/gmpv224/system/test_help.py +++ b/tests/protocols/gmpv224/system/test_help.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.help import GmpHelpTestMixin from ...gmpv224 import Gmpv224TestCase diff --git a/tests/protocols/gmpv224/system/test_system_reports.py b/tests/protocols/gmpv224/system/test_system_reports.py index bf3214c85..9b18b8902 100644 --- a/tests/protocols/gmpv224/system/test_system_reports.py +++ b/tests/protocols/gmpv224/system/test_system_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.system_reports import GmpGetSystemReportsTestMixin from ...gmpv224 import Gmpv224TestCase diff --git a/tests/protocols/gmpv224/system/test_trashcan.py b/tests/protocols/gmpv224/system/test_trashcan.py index 3538c0cc2..136276185 100644 --- a/tests/protocols/gmpv224/system/test_trashcan.py +++ b/tests/protocols/gmpv224/system/test_trashcan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.trashcan import ( GmpEmptyTrashcanTestMixin, diff --git a/tests/protocols/gmpv224/system/test_user_settings.py b/tests/protocols/gmpv224/system/test_user_settings.py index f3c0b1111..0ef1af37c 100644 --- a/tests/protocols/gmpv224/system/test_user_settings.py +++ b/tests/protocols/gmpv224/system/test_user_settings.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.user_settings import ( GmpGetUserSettingsTestMixin, diff --git a/tests/protocols/gmpv224/system/test_versions.py b/tests/protocols/gmpv224/system/test_versions.py index 060217f98..f6929be19 100644 --- a/tests/protocols/gmpv224/system/test_versions.py +++ b/tests/protocols/gmpv224/system/test_versions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.versions import GmpGetVersionTestCase from ...gmpv224 import Gmpv224TestCase diff --git a/tests/protocols/gmpv224/system/versions/__init__.py b/tests/protocols/gmpv224/system/versions/__init__.py index 92034ce86..90764e183 100644 --- a/tests/protocols/gmpv224/system/versions/__init__.py +++ b/tests/protocols/gmpv224/system/versions/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_protocol_version import GmpGetProtocolVersionTestCase diff --git a/tests/protocols/gmpv224/system/versions/test_get_protocol_version.py b/tests/protocols/gmpv224/system/versions/test_get_protocol_version.py index 7cf7125b2..e2a2fb15d 100644 --- a/tests/protocols/gmpv224/system/versions/test_get_protocol_version.py +++ b/tests/protocols/gmpv224/system/versions/test_get_protocol_version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetProtocolVersionTestCase: diff --git a/tests/protocols/gmpv224/test_gmp_types.py b/tests/protocols/gmpv224/test_gmp_types.py index 33fc15f71..f2033b389 100644 --- a/tests/protocols/gmpv224/test_gmp_types.py +++ b/tests/protocols/gmpv224/test_gmp_types.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv208.entities.hosts import HostsOrdering diff --git a/tests/protocols/gmpv224/test_with_statement.py b/tests/protocols/gmpv224/test_with_statement.py index 00ee9bf55..5da8967fb 100644 --- a/tests/protocols/gmpv224/test_with_statement.py +++ b/tests/protocols/gmpv224/test_with_statement.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from . import Gmpv224TestCase diff --git a/tests/protocols/gmpv225/__init__.py b/tests/protocols/gmpv225/__init__.py index 0cfb791c8..baca74ef5 100644 --- a/tests/protocols/gmpv225/__init__.py +++ b/tests/protocols/gmpv225/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv225 import Gmp diff --git a/tests/protocols/gmpv225/entities/__init__.py b/tests/protocols/gmpv225/entities/__init__.py index 8c5feab1c..baae7654d 100644 --- a/tests/protocols/gmpv225/entities/__init__.py +++ b/tests/protocols/gmpv225/entities/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv225/entities/resourcenames/__init__.py b/tests/protocols/gmpv225/entities/resourcenames/__init__.py index 5980cb271..2b3a10e8f 100644 --- a/tests/protocols/gmpv225/entities/resourcenames/__init__.py +++ b/tests/protocols/gmpv225/entities/resourcenames/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_resource_name import GmpGetResourceNameTestMixin from .test_get_resource_names_list import GmpGetResourceNamesListTestMixin diff --git a/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_name.py b/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_name.py index 9fb5dbb03..6d1aefadd 100644 --- a/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_name.py +++ b/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_name.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv225 import ResourceType diff --git a/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_names_list.py b/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_names_list.py index 6cc9509b8..d2292c0f8 100644 --- a/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_names_list.py +++ b/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_names_list.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.errors import InvalidArgumentType, RequiredArgument from gvm.protocols.gmpv225 import ResourceType diff --git a/tests/protocols/gmpv225/entities/test_alerts.py b/tests/protocols/gmpv225/entities/test_alerts.py index f89f7d911..2f0e272e7 100644 --- a/tests/protocols/gmpv225/entities/test_alerts.py +++ b/tests/protocols/gmpv225/entities/test_alerts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.alerts import ( GmpCloneAlertTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_audits.py b/tests/protocols/gmpv225/entities/test_audits.py index 8399f2689..a789ce204 100644 --- a/tests/protocols/gmpv225/entities/test_audits.py +++ b/tests/protocols/gmpv225/entities/test_audits.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.audits import ( GmpCloneAuditTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_credentials.py b/tests/protocols/gmpv225/entities/test_credentials.py index b2e0554a9..a579649f3 100644 --- a/tests/protocols/gmpv225/entities/test_credentials.py +++ b/tests/protocols/gmpv225/entities/test_credentials.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.credentials import ( GmpCloneCredentialTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_filters.py b/tests/protocols/gmpv225/entities/test_filters.py index 72dcd988c..5cbf3e1fd 100644 --- a/tests/protocols/gmpv225/entities/test_filters.py +++ b/tests/protocols/gmpv225/entities/test_filters.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.filters import ( GmpCloneFilterTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_groups.py b/tests/protocols/gmpv225/entities/test_groups.py index 17d111edd..b63c3245f 100644 --- a/tests/protocols/gmpv225/entities/test_groups.py +++ b/tests/protocols/gmpv225/entities/test_groups.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.groups import ( GmpCloneGroupTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_hosts.py b/tests/protocols/gmpv225/entities/test_hosts.py index 39243c440..262d4c3a8 100644 --- a/tests/protocols/gmpv225/entities/test_hosts.py +++ b/tests/protocols/gmpv225/entities/test_hosts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.hosts import ( GmpCreateHostTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_notes.py b/tests/protocols/gmpv225/entities/test_notes.py index b7ef0b99c..2f2e0dd4b 100644 --- a/tests/protocols/gmpv225/entities/test_notes.py +++ b/tests/protocols/gmpv225/entities/test_notes.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.notes import ( GmpCloneNoteTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_operating_systems.py b/tests/protocols/gmpv225/entities/test_operating_systems.py index 5f9dbd61b..c601eeecf 100644 --- a/tests/protocols/gmpv225/entities/test_operating_systems.py +++ b/tests/protocols/gmpv225/entities/test_operating_systems.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.operating_systems import ( GmpDeleteOperatingSystemTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_overrides.py b/tests/protocols/gmpv225/entities/test_overrides.py index b23ee3ec8..612ddb1e1 100644 --- a/tests/protocols/gmpv225/entities/test_overrides.py +++ b/tests/protocols/gmpv225/entities/test_overrides.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.overrides import ( GmpCloneOverrideTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_permissions.py b/tests/protocols/gmpv225/entities/test_permissions.py index 35e36ee4c..798c7449b 100644 --- a/tests/protocols/gmpv225/entities/test_permissions.py +++ b/tests/protocols/gmpv225/entities/test_permissions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.permissions import ( GmpClonePermissionTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_policies.py b/tests/protocols/gmpv225/entities/test_policies.py index 9f2c5d25c..a75f9d0cd 100644 --- a/tests/protocols/gmpv225/entities/test_policies.py +++ b/tests/protocols/gmpv225/entities/test_policies.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.policies import ( GmpClonePolicyTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_port_lists.py b/tests/protocols/gmpv225/entities/test_port_lists.py index 070aaeeba..5c3d615c5 100644 --- a/tests/protocols/gmpv225/entities/test_port_lists.py +++ b/tests/protocols/gmpv225/entities/test_port_lists.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.port_lists import ( GmpClonePortListTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_report_formats.py b/tests/protocols/gmpv225/entities/test_report_formats.py index 6899b1464..ce96d3d67 100644 --- a/tests/protocols/gmpv225/entities/test_report_formats.py +++ b/tests/protocols/gmpv225/entities/test_report_formats.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.report_formats import ( GmpCloneReportFormatTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_reports.py b/tests/protocols/gmpv225/entities/test_reports.py index 5e2fbf5f0..47c24ffe3 100644 --- a/tests/protocols/gmpv225/entities/test_reports.py +++ b/tests/protocols/gmpv225/entities/test_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.reports import ( GmpDeleteReportTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_resource_names.py b/tests/protocols/gmpv225/entities/test_resource_names.py index a4810d4d8..74b549aef 100644 --- a/tests/protocols/gmpv225/entities/test_resource_names.py +++ b/tests/protocols/gmpv225/entities/test_resource_names.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv225 import Gmpv225TestCase from .resourcenames import ( diff --git a/tests/protocols/gmpv225/entities/test_results.py b/tests/protocols/gmpv225/entities/test_results.py index 0af36d32c..4d762ba18 100644 --- a/tests/protocols/gmpv225/entities/test_results.py +++ b/tests/protocols/gmpv225/entities/test_results.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.results import ( GmpGetResultsTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_roles.py b/tests/protocols/gmpv225/entities/test_roles.py index 4bea1e359..c42e1c3d4 100644 --- a/tests/protocols/gmpv225/entities/test_roles.py +++ b/tests/protocols/gmpv225/entities/test_roles.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.roles import ( GmpCloneRoleTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_scan_configs.py b/tests/protocols/gmpv225/entities/test_scan_configs.py index f8ecf6d50..87b453324 100644 --- a/tests/protocols/gmpv225/entities/test_scan_configs.py +++ b/tests/protocols/gmpv225/entities/test_scan_configs.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv224.entities.scan_configs import ( GmpCloneScanConfigTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_scanners.py b/tests/protocols/gmpv225/entities/test_scanners.py index 573b34492..fce62de59 100644 --- a/tests/protocols/gmpv225/entities/test_scanners.py +++ b/tests/protocols/gmpv225/entities/test_scanners.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.scanners import ( GmpCloneScannerTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_schedules.py b/tests/protocols/gmpv225/entities/test_schedules.py index fb1ce5c76..dac6c584a 100644 --- a/tests/protocols/gmpv225/entities/test_schedules.py +++ b/tests/protocols/gmpv225/entities/test_schedules.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.schedules import ( GmpCloneScheduleTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_secinfo.py b/tests/protocols/gmpv225/entities/test_secinfo.py index 4e5ecfc9a..0e241f728 100644 --- a/tests/protocols/gmpv225/entities/test_secinfo.py +++ b/tests/protocols/gmpv225/entities/test_secinfo.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.secinfo import ( GmpGetCertBundListTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_tags.py b/tests/protocols/gmpv225/entities/test_tags.py index 4f0cf9a5e..63f6c3611 100644 --- a/tests/protocols/gmpv225/entities/test_tags.py +++ b/tests/protocols/gmpv225/entities/test_tags.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tags import ( GmpCloneTagTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_targets.py b/tests/protocols/gmpv225/entities/test_targets.py index e698ed360..f71d01a3e 100644 --- a/tests/protocols/gmpv225/entities/test_targets.py +++ b/tests/protocols/gmpv225/entities/test_targets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.targets import ( GmpCloneTargetTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_tasks.py b/tests/protocols/gmpv225/entities/test_tasks.py index 50eb860d3..e7f9886a2 100644 --- a/tests/protocols/gmpv225/entities/test_tasks.py +++ b/tests/protocols/gmpv225/entities/test_tasks.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tasks import ( GmpCloneTaskTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_tickets.py b/tests/protocols/gmpv225/entities/test_tickets.py index 86004f4d2..8f2c8544d 100644 --- a/tests/protocols/gmpv225/entities/test_tickets.py +++ b/tests/protocols/gmpv225/entities/test_tickets.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tickets import ( GmpCloneTicketTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_tls_certificates.py b/tests/protocols/gmpv225/entities/test_tls_certificates.py index d1027ae7a..592f7f8ea 100644 --- a/tests/protocols/gmpv225/entities/test_tls_certificates.py +++ b/tests/protocols/gmpv225/entities/test_tls_certificates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.tls_certificates import ( GmpCloneTLSCertificateTestMixin, diff --git a/tests/protocols/gmpv225/entities/test_users.py b/tests/protocols/gmpv225/entities/test_users.py index d62919d0b..df0b4b33b 100644 --- a/tests/protocols/gmpv225/entities/test_users.py +++ b/tests/protocols/gmpv225/entities/test_users.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from unittest.mock import call, patch diff --git a/tests/protocols/gmpv225/entities/test_vulnerabilities.py b/tests/protocols/gmpv225/entities/test_vulnerabilities.py index 6729997d9..c54cbf400 100644 --- a/tests/protocols/gmpv225/entities/test_vulnerabilities.py +++ b/tests/protocols/gmpv225/entities/test_vulnerabilities.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.entities.vulnerabilities import ( GmpGetVulnerabilitiesTestMixin, diff --git a/tests/protocols/gmpv225/enums/__init__.py b/tests/protocols/gmpv225/enums/__init__.py index 8c5feab1c..baae7654d 100644 --- a/tests/protocols/gmpv225/enums/__init__.py +++ b/tests/protocols/gmpv225/enums/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv225/enums/test_aggregate_statistic.py b/tests/protocols/gmpv225/enums/test_aggregate_statistic.py index 3a53ce5f6..00591495b 100644 --- a/tests/protocols/gmpv225/enums/test_aggregate_statistic.py +++ b/tests/protocols/gmpv225/enums/test_aggregate_statistic.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_alert_condition.py b/tests/protocols/gmpv225/enums/test_alert_condition.py index 0fb8cb693..c9dde9f00 100644 --- a/tests/protocols/gmpv225/enums/test_alert_condition.py +++ b/tests/protocols/gmpv225/enums/test_alert_condition.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_alert_event.py b/tests/protocols/gmpv225/enums/test_alert_event.py index 9e23114df..c2797096e 100644 --- a/tests/protocols/gmpv225/enums/test_alert_event.py +++ b/tests/protocols/gmpv225/enums/test_alert_event.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_alert_method.py b/tests/protocols/gmpv225/enums/test_alert_method.py index 7434bdc2e..57bf56483 100644 --- a/tests/protocols/gmpv225/enums/test_alert_method.py +++ b/tests/protocols/gmpv225/enums/test_alert_method.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_alive_test.py b/tests/protocols/gmpv225/enums/test_alive_test.py index 2df4add19..abc790738 100644 --- a/tests/protocols/gmpv225/enums/test_alive_test.py +++ b/tests/protocols/gmpv225/enums/test_alive_test.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_credential_format.py b/tests/protocols/gmpv225/enums/test_credential_format.py index 71af65925..632a65906 100644 --- a/tests/protocols/gmpv225/enums/test_credential_format.py +++ b/tests/protocols/gmpv225/enums/test_credential_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_credential_type.py b/tests/protocols/gmpv225/enums/test_credential_type.py index cfe210be2..55916e489 100644 --- a/tests/protocols/gmpv225/enums/test_credential_type.py +++ b/tests/protocols/gmpv225/enums/test_credential_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_entity_type.py b/tests/protocols/gmpv225/enums/test_entity_type.py index 5a07e725a..e821c5c81 100644 --- a/tests/protocols/gmpv225/enums/test_entity_type.py +++ b/tests/protocols/gmpv225/enums/test_entity_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_feed_type.py b/tests/protocols/gmpv225/enums/test_feed_type.py index 327cb1fb3..7c99a39bb 100644 --- a/tests/protocols/gmpv225/enums/test_feed_type.py +++ b/tests/protocols/gmpv225/enums/test_feed_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_filter_type.py b/tests/protocols/gmpv225/enums/test_filter_type.py index 6d7e90715..7d396d6c7 100644 --- a/tests/protocols/gmpv225/enums/test_filter_type.py +++ b/tests/protocols/gmpv225/enums/test_filter_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_help_format.py b/tests/protocols/gmpv225/enums/test_help_format.py index ec0942e7d..ef893887e 100644 --- a/tests/protocols/gmpv225/enums/test_help_format.py +++ b/tests/protocols/gmpv225/enums/test_help_format.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_hosts_ordering.py b/tests/protocols/gmpv225/enums/test_hosts_ordering.py index cf8cdb8f4..b551a266c 100644 --- a/tests/protocols/gmpv225/enums/test_hosts_ordering.py +++ b/tests/protocols/gmpv225/enums/test_hosts_ordering.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_info_type copy.py b/tests/protocols/gmpv225/enums/test_info_type copy.py index 8c3dee459..17b138579 100644 --- a/tests/protocols/gmpv225/enums/test_info_type copy.py +++ b/tests/protocols/gmpv225/enums/test_info_type copy.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_permission_subject_type.py b/tests/protocols/gmpv225/enums/test_permission_subject_type.py index e51564e0f..221728cd8 100644 --- a/tests/protocols/gmpv225/enums/test_permission_subject_type.py +++ b/tests/protocols/gmpv225/enums/test_permission_subject_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_port_range_type.py b/tests/protocols/gmpv225/enums/test_port_range_type.py index ebc002c7d..b99b4ca20 100644 --- a/tests/protocols/gmpv225/enums/test_port_range_type.py +++ b/tests/protocols/gmpv225/enums/test_port_range_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_report_format_type.py b/tests/protocols/gmpv225/enums/test_report_format_type.py index 1194e8341..209a34250 100644 --- a/tests/protocols/gmpv225/enums/test_report_format_type.py +++ b/tests/protocols/gmpv225/enums/test_report_format_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_resource_type.py b/tests/protocols/gmpv225/enums/test_resource_type.py index b56435c01..7e566a3df 100644 --- a/tests/protocols/gmpv225/enums/test_resource_type.py +++ b/tests/protocols/gmpv225/enums/test_resource_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_scanner_type.py b/tests/protocols/gmpv225/enums/test_scanner_type.py index 3b196cbef..63bb392d9 100644 --- a/tests/protocols/gmpv225/enums/test_scanner_type.py +++ b/tests/protocols/gmpv225/enums/test_scanner_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_severity_level.py b/tests/protocols/gmpv225/enums/test_severity_level.py index 26094d086..de598f0b0 100644 --- a/tests/protocols/gmpv225/enums/test_severity_level.py +++ b/tests/protocols/gmpv225/enums/test_severity_level.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_snmp_algorithms.py b/tests/protocols/gmpv225/enums/test_snmp_algorithms.py index 7ea0b4002..2f7547726 100644 --- a/tests/protocols/gmpv225/enums/test_snmp_algorithms.py +++ b/tests/protocols/gmpv225/enums/test_snmp_algorithms.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_sort_order.py b/tests/protocols/gmpv225/enums/test_sort_order.py index c1e8ca889..8aadfa150 100644 --- a/tests/protocols/gmpv225/enums/test_sort_order.py +++ b/tests/protocols/gmpv225/enums/test_sort_order.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_ticket_status.py b/tests/protocols/gmpv225/enums/test_ticket_status.py index f9935e27d..ce22e9899 100644 --- a/tests/protocols/gmpv225/enums/test_ticket_status.py +++ b/tests/protocols/gmpv225/enums/test_ticket_status.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/enums/test_user_auth_type.py b/tests/protocols/gmpv225/enums/test_user_auth_type.py index 12ab6e67c..813ed5975 100644 --- a/tests/protocols/gmpv225/enums/test_user_auth_type.py +++ b/tests/protocols/gmpv225/enums/test_user_auth_type.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/gmpv225/system/__init__.py b/tests/protocols/gmpv225/system/__init__.py index 8c5feab1c..baae7654d 100644 --- a/tests/protocols/gmpv225/system/__init__.py +++ b/tests/protocols/gmpv225/system/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/gmpv225/system/test_aggregates.py b/tests/protocols/gmpv225/system/test_aggregates.py index ba2921c21..396cc3615 100644 --- a/tests/protocols/gmpv225/system/test_aggregates.py +++ b/tests/protocols/gmpv225/system/test_aggregates.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.aggregates import GmpGetAggregatesTestMixin from ...gmpv225 import Gmpv225TestCase diff --git a/tests/protocols/gmpv225/system/test_authentication.py b/tests/protocols/gmpv225/system/test_authentication.py index a757009f7..4eff004bb 100644 --- a/tests/protocols/gmpv225/system/test_authentication.py +++ b/tests/protocols/gmpv225/system/test_authentication.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.authentication import ( GmpAuthenticateTestMixin, diff --git a/tests/protocols/gmpv225/system/test_feed.py b/tests/protocols/gmpv225/system/test_feed.py index 6f974ee7f..1e75c26be 100644 --- a/tests/protocols/gmpv225/system/test_feed.py +++ b/tests/protocols/gmpv225/system/test_feed.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.feed import GmpGetFeedsTestMixin, GmpGetFeedTestMixin from ...gmpv225 import Gmpv225TestCase diff --git a/tests/protocols/gmpv225/system/test_help.py b/tests/protocols/gmpv225/system/test_help.py index 78269459e..8df3a0a46 100644 --- a/tests/protocols/gmpv225/system/test_help.py +++ b/tests/protocols/gmpv225/system/test_help.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.help import GmpHelpTestMixin from ...gmpv225 import Gmpv225TestCase diff --git a/tests/protocols/gmpv225/system/test_system_reports.py b/tests/protocols/gmpv225/system/test_system_reports.py index 8281c1b01..040c06d3a 100644 --- a/tests/protocols/gmpv225/system/test_system_reports.py +++ b/tests/protocols/gmpv225/system/test_system_reports.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.system_reports import GmpGetSystemReportsTestMixin from ...gmpv225 import Gmpv225TestCase diff --git a/tests/protocols/gmpv225/system/test_trashcan.py b/tests/protocols/gmpv225/system/test_trashcan.py index 1947b9034..833aaec9e 100644 --- a/tests/protocols/gmpv225/system/test_trashcan.py +++ b/tests/protocols/gmpv225/system/test_trashcan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.trashcan import ( GmpEmptyTrashcanTestMixin, diff --git a/tests/protocols/gmpv225/system/test_user_settings.py b/tests/protocols/gmpv225/system/test_user_settings.py index 85771c7d6..06990ad49 100644 --- a/tests/protocols/gmpv225/system/test_user_settings.py +++ b/tests/protocols/gmpv225/system/test_user_settings.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.user_settings import ( GmpGetUserSettingsTestMixin, diff --git a/tests/protocols/gmpv225/system/test_versions.py b/tests/protocols/gmpv225/system/test_versions.py index 9f8d60f93..cc87d1c5a 100644 --- a/tests/protocols/gmpv225/system/test_versions.py +++ b/tests/protocols/gmpv225/system/test_versions.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from ...gmpv208.system.versions import GmpGetVersionTestCase from ...gmpv225 import Gmpv225TestCase diff --git a/tests/protocols/gmpv225/system/versions/__init__.py b/tests/protocols/gmpv225/system/versions/__init__.py index a950493e9..a9d0bff86 100644 --- a/tests/protocols/gmpv225/system/versions/__init__.py +++ b/tests/protocols/gmpv225/system/versions/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .test_get_protocol_version import GmpGetProtocolVersionTestCase diff --git a/tests/protocols/gmpv225/system/versions/test_get_protocol_version.py b/tests/protocols/gmpv225/system/versions/test_get_protocol_version.py index 0b8b6eeee..204103af4 100644 --- a/tests/protocols/gmpv225/system/versions/test_get_protocol_version.py +++ b/tests/protocols/gmpv225/system/versions/test_get_protocol_version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class GmpGetProtocolVersionTestCase: diff --git a/tests/protocols/gmpv225/test_gmp_types.py b/tests/protocols/gmpv225/test_gmp_types.py index 76f807538..74553ed82 100644 --- a/tests/protocols/gmpv225/test_gmp_types.py +++ b/tests/protocols/gmpv225/test_gmp_types.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from gvm.protocols.gmpv208.entities.hosts import HostsOrdering diff --git a/tests/protocols/gmpv225/test_with_statement.py b/tests/protocols/gmpv225/test_with_statement.py index 97046eb05..eea3ad0c8 100644 --- a/tests/protocols/gmpv225/test_with_statement.py +++ b/tests/protocols/gmpv225/test_with_statement.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2023 Greenbone AG +# SPDX-FileCopyrightText: 2023-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from . import Gmpv225TestCase diff --git a/tests/protocols/osp/__init__.py b/tests/protocols/osp/__init__.py index 83e70fa0a..cf8433bf8 100644 --- a/tests/protocols/osp/__init__.py +++ b/tests/protocols/osp/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/protocols/osp/test_osp_delete_scan.py b/tests/protocols/osp/test_osp_delete_scan.py index f8f49d2f3..e50d868f1 100644 --- a/tests/protocols/osp/test_osp_delete_scan.py +++ b/tests/protocols/osp/test_osp_delete_scan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/osp/test_osp_get_scanner_details.py b/tests/protocols/osp/test_osp_get_scanner_details.py index a6be20c1a..7bc78ce30 100644 --- a/tests/protocols/osp/test_osp_get_scanner_details.py +++ b/tests/protocols/osp/test_osp_get_scanner_details.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/osp/test_osp_get_scans.py b/tests/protocols/osp/test_osp_get_scans.py index 7e992737f..2d5121513 100644 --- a/tests/protocols/osp/test_osp_get_scans.py +++ b/tests/protocols/osp/test_osp_get_scans.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/osp/test_osp_get_version.py b/tests/protocols/osp/test_osp_get_version.py index b93d0b979..42adaf7b2 100644 --- a/tests/protocols/osp/test_osp_get_version.py +++ b/tests/protocols/osp/test_osp_get_version.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/osp/test_osp_get_vts.py b/tests/protocols/osp/test_osp_get_vts.py index 02e9f9845..71248f445 100644 --- a/tests/protocols/osp/test_osp_get_vts.py +++ b/tests/protocols/osp/test_osp_get_vts.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/osp/test_osp_help.py b/tests/protocols/osp/test_osp_help.py index befd2de00..d80287ef2 100644 --- a/tests/protocols/osp/test_osp_help.py +++ b/tests/protocols/osp/test_osp_help.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/osp/test_osp_start_scan.py b/tests/protocols/osp/test_osp_start_scan.py index 65cd5df3e..02565398a 100644 --- a/tests/protocols/osp/test_osp_start_scan.py +++ b/tests/protocols/osp/test_osp_start_scan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from collections import OrderedDict diff --git a/tests/protocols/osp/test_osp_stop_scan.py b/tests/protocols/osp/test_osp_stop_scan.py index e4f88e599..b1b170790 100644 --- a/tests/protocols/osp/test_osp_stop_scan.py +++ b/tests/protocols/osp/test_osp_stop_scan.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/protocols/test_latest.py b/tests/protocols/test_latest.py index b45444793..c8ae605f6 100644 --- a/tests/protocols/test_latest.py +++ b/tests/protocols/test_latest.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=no-member diff --git a/tests/protocols/test_next.py b/tests/protocols/test_next.py index 6ba9e848b..1e5514f7f 100644 --- a/tests/protocols/test_next.py +++ b/tests/protocols/test_next.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=no-member diff --git a/tests/test_errors.py b/tests/test_errors.py index 0dfc5ab05..d2cb9709e 100644 --- a/tests/test_errors.py +++ b/tests/test_errors.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/transforms/__init__.py b/tests/transforms/__init__.py index 83e70fa0a..cf8433bf8 100644 --- a/tests/transforms/__init__.py +++ b/tests/transforms/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/transforms/test_check_command_transform.py b/tests/transforms/test_check_command_transform.py index df3840f45..15615a8e5 100644 --- a/tests/transforms/test_check_command_transform.py +++ b/tests/transforms/test_check_command_transform.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/transforms/test_etree_check_command_transform.py b/tests/transforms/test_etree_check_command_transform.py index 6e30af01b..61e04e704 100644 --- a/tests/transforms/test_etree_check_command_transform.py +++ b/tests/transforms/test_etree_check_command_transform.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/transforms/test_etree_transform.py b/tests/transforms/test_etree_transform.py index a393dd8a6..feeb11e56 100644 --- a/tests/transforms/test_etree_transform.py +++ b/tests/transforms/test_etree_transform.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/utils/__init__.py b/tests/utils/__init__.py index 83e70fa0a..cf8433bf8 100644 --- a/tests/utils/__init__.py +++ b/tests/utils/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/utils/test_add_filter.py b/tests/utils/test_add_filter.py index 3de7a4568..64a7bfa90 100644 --- a/tests/utils/test_add_filter.py +++ b/tests/utils/test_add_filter.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/utils/test_check_command_status.py b/tests/utils/test_check_command_status.py index 8cbf1aa8e..887dc75d2 100644 --- a/tests/utils/test_check_command_status.py +++ b/tests/utils/test_check_command_status.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/utils/test_check_port.py b/tests/utils/test_check_port.py index d97cc9e73..a34afee5f 100644 --- a/tests/utils/test_check_port.py +++ b/tests/utils/test_check_port.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/utils/test_deprecation.py b/tests/utils/test_deprecation.py index ab910f8ec..77e6a657a 100644 --- a/tests/utils/test_deprecation.py +++ b/tests/utils/test_deprecation.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest import warnings diff --git a/tests/utils/test_is_list_like.py b/tests/utils/test_is_list_like.py index 0af6f0341..37807025f 100644 --- a/tests/utils/test_is_list_like.py +++ b/tests/utils/test_is_list_like.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/utils/test_to_base64.py b/tests/utils/test_to_base64.py index 69b00fed9..8ab3c424e 100644 --- a/tests/utils/test_to_base64.py +++ b/tests/utils/test_to_base64.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/utils/test_to_bool.py b/tests/utils/test_to_bool.py index 5faef7746..094fde36e 100644 --- a/tests/utils/test_to_bool.py +++ b/tests/utils/test_to_bool.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/utils/test_to_comma_list.py b/tests/utils/test_to_comma_list.py index 6ba0d1e3c..19edd5b21 100644 --- a/tests/utils/test_to_comma_list.py +++ b/tests/utils/test_to_comma_list.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/xml/__init__.py b/tests/xml/__init__.py index cfe2c2574..d3289294a 100644 --- a/tests/xml/__init__.py +++ b/tests/xml/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/xml/test_pretty_print.py b/tests/xml/test_pretty_print.py index eae0add3e..8ea8365bf 100644 --- a/tests/xml/test_pretty_print.py +++ b/tests/xml/test_pretty_print.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import sys import unittest diff --git a/tests/xml/test_valid_xml_string.py b/tests/xml/test_valid_xml_string.py index edd702e33..9fe413778 100644 --- a/tests/xml/test_valid_xml_string.py +++ b/tests/xml/test_valid_xml_string.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/xml/test_xml_command.py b/tests/xml/test_xml_command.py index f35f48175..9519f3273 100644 --- a/tests/xml/test_xml_command.py +++ b/tests/xml/test_xml_command.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from collections import OrderedDict