From 05280c153e3044db775e9beab973cedbc5659798 Mon Sep 17 00:00:00 2001 From: Michael Bideau Date: Thu, 22 Aug 2019 14:51:04 +0000 Subject: [PATCH] License: prepended license text to all tests files --- tests/conftest.py | 20 ++++++++++++++++++++ tests/settings.py | 20 ++++++++++++++++++++ tests/test_atreal_openads.py | 17 +++++++++++++++++ tests/test_forms.py | 18 ++++++++++++++++++ tests/test_utils.py | 18 ++++++++++++++++++ tests/test_views.py | 18 ++++++++++++++++++ 6 files changed, 111 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index f713ceb..6a895fe 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import pytest from httmock import urlmatch, HTTMock, response diff --git a/tests/settings.py b/tests/settings.py index f462b19..f9e5efc 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -1,3 +1,23 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + import os LANGUAGE_CODE = 'en-us' diff --git a/tests/test_atreal_openads.py b/tests/test_atreal_openads.py index 5da017b..c86a081 100644 --- a/tests/test_atreal_openads.py +++ b/tests/test_atreal_openads.py @@ -1,6 +1,23 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """Tests for connector AtrealOpenads.""" # pylint: disable=too-many-lines diff --git a/tests/test_forms.py b/tests/test_forms.py index 18358d2..70afbf8 100644 --- a/tests/test_forms.py +++ b/tests/test_forms.py @@ -1,5 +1,23 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """Testing forms.""" import os diff --git a/tests/test_utils.py b/tests/test_utils.py index f88707b..4a6508f 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,5 +1,23 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """Testing utilities functions.""" import os diff --git a/tests/test_views.py b/tests/test_views.py index 917c445..525d8c6 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -1,5 +1,23 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- +# This file is part of passerelle-atreal-openads - a Publik connector to openADS +# +# Copyright (C) 2019 Atreal +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + """Testing views.""" import os