diff --git a/ospd_openvas/__init__.py b/ospd_openvas/__init__.py index decd8672..ed6324cd 100644 --- a/ospd_openvas/__init__.py +++ b/ospd_openvas/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/ospd_openvas/daemon.py b/ospd_openvas/daemon.py index b472a4c9..68a1ed11 100644 --- a/ospd_openvas/daemon.py +++ b/ospd_openvas/daemon.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2019-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/ospd_openvas/db.py b/ospd_openvas/db.py index bdf7cfec..509e52fd 100644 --- a/ospd_openvas/db.py +++ b/ospd_openvas/db.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/ospd_openvas/errors.py b/ospd_openvas/errors.py index b574f46f..d2628103 100644 --- a/ospd_openvas/errors.py +++ b/ospd_openvas/errors.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/ospd_openvas/lock.py b/ospd_openvas/lock.py index ed1c0b9f..642ea793 100644 --- a/ospd_openvas/lock.py +++ b/ospd_openvas/lock.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/ospd_openvas/nvticache.py b/ospd_openvas/nvticache.py index 691ec96d..48638b21 100644 --- a/ospd_openvas/nvticache.py +++ b/ospd_openvas/nvticache.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/ospd_openvas/openvas.py b/ospd_openvas/openvas.py index 6e5a3347..72f47ca8 100644 --- a/ospd_openvas/openvas.py +++ b/ospd_openvas/openvas.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/ospd_openvas/preferencehandler.py b/ospd_openvas/preferencehandler.py index 14019f39..bbfccbaa 100644 --- a/ospd_openvas/preferencehandler.py +++ b/ospd_openvas/preferencehandler.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/ospd_openvas/vthelper.py b/ospd_openvas/vthelper.py index d1af8f3f..b4351063 100644 --- a/ospd_openvas/vthelper.py +++ b/ospd_openvas/vthelper.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/setup.py b/setup.py index f0085eec..5d69ede3 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/tests/dummydaemon.py b/tests/dummydaemon.py index bf7f77de..ae10ece3 100644 --- a/tests/dummydaemon.py +++ b/tests/dummydaemon.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/tests/helper.py b/tests/helper.py index 2dd398ad..c5dbcbe5 100644 --- a/tests/helper.py +++ b/tests/helper.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # @@ -34,8 +34,7 @@ def assert_called_once(mock: Mock): def assert_called(mock: Mock): - """assert that the mock was called at least once - """ + """assert that the mock was called at least once""" if mock.call_count == 0: msg = "Expected '%s' to have been called." % (mock._mock_name or 'mock') raise AssertionError(msg) diff --git a/tests/test_daemon.py b/tests/test_daemon.py index b422184c..fed633f6 100644 --- a/tests/test_daemon.py +++ b/tests/test_daemon.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/tests/test_db.py b/tests/test_db.py index 87c41232..fcaec462 100644 --- a/tests/test_db.py +++ b/tests/test_db.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/tests/test_lock.py b/tests/test_lock.py index 6c0275d0..84d94efb 100644 --- a/tests/test_lock.py +++ b/tests/test_lock.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/tests/test_nvti_cache.py b/tests/test_nvti_cache.py index 02edf3e3..c86f9f8c 100644 --- a/tests/test_nvti_cache.py +++ b/tests/test_nvti_cache.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/tests/test_openvas.py b/tests/test_openvas.py index fa5ea8df..62121048 100644 --- a/tests/test_openvas.py +++ b/tests/test_openvas.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/tests/test_preferencehandler.py b/tests/test_preferencehandler.py index 8f0b67ff..a0eab905 100644 --- a/tests/test_preferencehandler.py +++ b/tests/test_preferencehandler.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later # diff --git a/tests/test_vthelper.py b/tests/test_vthelper.py index 0754cdcd..470a893c 100644 --- a/tests/test_vthelper.py +++ b/tests/test_vthelper.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014-2020 Greenbone Networks GmbH +# Copyright (C) 2014-2021 Greenbone Networks GmbH # # SPDX-License-Identifier: AGPL-3.0-or-later #