diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/__init__.py | 27 | ||||
-rw-r--r-- | tests/forms.py | 0 | ||||
-rw-r--r-- | tests/models.py | 0 | ||||
-rw-r--r-- | tests/test_forms.py | 20 | ||||
-rw-r--r-- | tests/test_models.py | 20 | ||||
-rw-r--r-- | tests/test_views.py (renamed from tests/views.py) | 21 |
6 files changed, 85 insertions, 3 deletions
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 |