summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-07-05 14:26:04 -0400
committerAamir Khan <syst3m.w0rm@gmail.com>2012-07-05 14:26:04 -0400
commit5f0e0a0ca25770784c47f1036bf972bd29a14789 (patch)
treec92d8905b1400bd4592bb107ed475441cee16a3d
parent3db8dd7d9328e38fbc8eacf0f7553778bc31d94f (diff)
downloadhyperkitty-5f0e0a0ca25770784c47f1036bf972bd29a14789.tar.gz
hyperkitty-5f0e0a0ca25770784c47f1036bf972bd29a14789.tar.xz
hyperkitty-5f0e0a0ca25770784c47f1036bf972bd29a14789.zip
renamed test files, added copyright notice
-rw-r--r--context_processors.py21
-rw-r--r--models.py21
-rw-r--r--tests/__init__.py27
-rw-r--r--tests/forms.py0
-rw-r--r--tests/models.py0
-rw-r--r--tests/test_forms.py20
-rw-r--r--tests/test_models.py20
-rw-r--r--tests/test_views.py (renamed from tests/views.py)21
-rw-r--r--utils.py21
-rw-r--r--views/accounts.py21
10 files changed, 169 insertions, 3 deletions
diff --git a/context_processors.py b/context_processors.py
index a4b0796..5c39319 100644
--- a/context_processors.py
+++ b/context_processors.py
@@ -1,3 +1,24 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Aamir Khan <syst3m.w0rm@gmail.com>
+#
+
from django.conf import settings
def app_name(context):
diff --git a/models.py b/models.py
index da28552..588363d 100644
--- a/models.py
+++ b/models.py
@@ -1,3 +1,24 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Aamir Khan <syst3m.w0rm@gmail.com>
+#
+
from django.db import models
from django.contrib.auth.models import User
from django.conf import settings
diff --git a/tests/__init__.py b/tests/__init__.py
index ad4f8a1..4cf4941 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,3 +1,24 @@
-from gsoc.tests.views import *
-from gsoc.tests.models import *
-from gsoc.tests.forms import *
+# -*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Aamir Khan <syst3m.w0rm@gmail.com>
+#
+
+from gsoc.tests.test_views import *
+from gsoc.tests.test_models import *
+from gsoc.tests.test_forms import *
diff --git a/tests/forms.py b/tests/forms.py
deleted file mode 100644
index e69de29..0000000
--- a/tests/forms.py
+++ /dev/null
diff --git a/tests/models.py b/tests/models.py
deleted file mode 100644
index e69de29..0000000
--- a/tests/models.py
+++ /dev/null
diff --git a/tests/test_forms.py b/tests/test_forms.py
new file mode 100644
index 0000000..9a056cd
--- /dev/null
+++ b/tests/test_forms.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Aamir Khan <syst3m.w0rm@gmail.com>
+#
diff --git a/tests/test_models.py b/tests/test_models.py
new file mode 100644
index 0000000..9a056cd
--- /dev/null
+++ b/tests/test_models.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Aamir Khan <syst3m.w0rm@gmail.com>
+#
diff --git a/tests/views.py b/tests/test_views.py
index 2ce933a..b94ef43 100644
--- a/tests/views.py
+++ b/tests/test_views.py
@@ -1,3 +1,24 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Aamir Khan <syst3m.w0rm@gmail.com>
+#
+
from django.test import TestCase
from django.test.client import Client
from django.contrib.auth.models import User
diff --git a/utils.py b/utils.py
index 351d469..ae55826 100644
--- a/utils.py
+++ b/utils.py
@@ -1,3 +1,24 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Aamir Khan <syst3m.w0rm@gmail.com>
+#
+
import logging
import traceback
diff --git a/views/accounts.py b/views/accounts.py
index f586c04..3154563 100644
--- a/views/accounts.py
+++ b/views/accounts.py
@@ -1,3 +1,24 @@
+# -*- coding: utf-8 -*-
+# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
+#
+# This file is part of HyperKitty.
+#
+# HyperKitty is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option)
+# any later version.
+#
+# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
+#
+# Author: Aamir Khan <syst3m.w0rm@gmail.com>
+#
+
import re
import sys