diff options
author | Micah Lee <micah@micahflee.com> | 2020-08-27 19:13:08 -0400 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-08-27 19:13:08 -0400 |
commit | 4c4323a772c56c6fc38ed5ec99868ba2ce82285d (patch) | |
tree | 4679af536b2ee057f67123c36814427175b7924b /tests | |
parent | dc6cefd7ce0d732667163273871a0b93ce62ea3b (diff) | |
download | onionshare-4c4323a772c56c6fc38ed5ec99868ba2ce82285d.tar.gz onionshare-4c4323a772c56c6fc38ed5ec99868ba2ce82285d.zip |
Update Copyright to 2020 everywhere, and assign to Micah Lee, et al. instead of just Micah Lee
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cli.py | 19 | ||||
-rw-r--r-- | tests/test_cli_common.py | 19 | ||||
-rw-r--r-- | tests/test_cli_settings.py | 19 | ||||
-rw-r--r-- | tests/test_cli_strings.py | 19 | ||||
-rw-r--r-- | tests/test_cli_web.py | 23 |
5 files changed, 3 insertions, 96 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py index 3c85e60d..7cc61853 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,22 +1,3 @@ -""" -OnionShare | https://onionshare.org/ - -Copyright (C) 2014-2018 Micah Lee <micah@micahflee.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" - import os import pytest diff --git a/tests/test_cli_common.py b/tests/test_cli_common.py index 3592d1ba..3756c09f 100644 --- a/tests/test_cli_common.py +++ b/tests/test_cli_common.py @@ -1,22 +1,3 @@ -""" -OnionShare | https://onionshare.org/ - -Copyright (C) 2014-2018 Micah Lee <micah@micahflee.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" - import contextlib import inspect import io diff --git a/tests/test_cli_settings.py b/tests/test_cli_settings.py index 7a1e8de5..ec238685 100644 --- a/tests/test_cli_settings.py +++ b/tests/test_cli_settings.py @@ -1,22 +1,3 @@ -""" -OnionShare | https://onionshare.org/ - -Copyright (C) 2014-2018 Micah Lee <micah@micahflee.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" - import json import os import tempfile diff --git a/tests/test_cli_strings.py b/tests/test_cli_strings.py index 7ad65191..bb4ccdde 100644 --- a/tests/test_cli_strings.py +++ b/tests/test_cli_strings.py @@ -1,23 +1,4 @@ # -*- coding: utf-8 -*- -""" -OnionShare | https://onionshare.org/ - -Copyright (C) 2014-2018 Micah Lee <micah@micahflee.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" - import types import pytest diff --git a/tests/test_cli_web.py b/tests/test_cli_web.py index 2e7d427b..dbc234de 100644 --- a/tests/test_cli_web.py +++ b/tests/test_cli_web.py @@ -1,22 +1,3 @@ -""" -OnionShare | https://onionshare.org/ - -Copyright (C) 2014-2018 Micah Lee <micah@micahflee.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -""" - import contextlib import inspect import io @@ -110,7 +91,9 @@ class TestWeb: assert web.running == False - def test_share_mode_autostop_sharing_off(self, temp_dir, common_obj, temp_file_1024): + def test_share_mode_autostop_sharing_off( + self, temp_dir, common_obj, temp_file_1024 + ): web = web_obj(temp_dir, common_obj, "share", 3) web.settings.set("share", "autostop_sharing", False) |