* Team upload.
* Removed Python 2 support.
* Add remove-broken-test.patch.
Thomas Goirand
4 years ago
0 | |
django-stronghold (0.3.0+debian-2) UNRELEASED; urgency=medium
|
|
0 |
django-stronghold (0.3.0+debian-2) unstable; urgency=medium
|
1 | 1 |
|
|
2 |
[ Ondřej Nový ]
|
2 | 3 |
* d/control: Remove ancient X-Python-Version field
|
3 | 4 |
* d/control: Remove ancient X-Python3-Version field
|
4 | 5 |
|
5 | |
-- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 10:20:16 +0200
|
|
6 |
[ Thomas Goirand ]
|
|
7 |
* Team upload.
|
|
8 |
* Removed Python 2 support.
|
|
9 |
* Add remove-broken-test.patch.
|
|
10 |
|
|
11 |
-- Thomas Goirand <zigo@debian.org> Fri, 26 Jul 2019 15:23:46 +0200
|
6 | 12 |
|
7 | 13 |
django-stronghold (0.3.0+debian-1) unstable; urgency=medium
|
8 | 14 |
|
5 | 5 |
Build-Depends: debhelper (>= 11)
|
6 | 6 |
Build-Depends-Indep:
|
7 | 7 |
dh-python
|
8 | |
, python-all
|
9 | |
, python-django
|
10 | |
, python-mock
|
11 | |
, python-setuptools
|
12 | 8 |
, python3-all
|
13 | 9 |
, python3-django
|
14 | 10 |
, python3-mock
|
|
17 | 13 |
Homepage: http://mikegrouchy.com/django-stronghold/
|
18 | 14 |
Vcs-Git: https://salsa.debian.org/debian/django-stronghold.git
|
19 | 15 |
Vcs-Browser: https://salsa.debian.org/debian/django-stronghold
|
20 | |
|
21 | |
Package: python-django-stronghold
|
22 | |
Architecture: all
|
23 | |
Depends: ${misc:Depends}, ${python:Depends}
|
24 | |
, python-django
|
25 | |
Provides: ${python:Provides}
|
26 | |
Recommends: ${python:Recommends}
|
27 | |
Description: Django app to make all views default login_required
|
28 | |
Stronghold is a very small and easy to use Django app that makes all
|
29 | |
your Django project default to require login for all of your views.
|
30 | 16 |
|
31 | 17 |
Package: python3-django-stronghold
|
32 | 18 |
Architecture: all
|
|
0 |
Description: Remove broken test
|
|
1 |
Author: Thomas Goirand <zigo@debian.org>
|
|
2 |
Forwarded: no
|
|
3 |
Last-Update: 2019-07-26
|
|
4 |
|
|
5 |
--- django-stronghold-0.3.0+debian.orig/stronghold/tests/testmiddleware.py
|
|
6 |
+++ django-stronghold-0.3.0+debian/stronghold/tests/testmiddleware.py
|
|
7 |
@@ -16,10 +16,6 @@ from django.test.client import RequestFa
|
|
8 |
|
|
9 |
class StrongholdMiddlewareTestCase(TestCase):
|
|
10 |
|
|
11 |
- def test_public_view_is_public(self):
|
|
12 |
- response = self.client.get(reverse('public_view'))
|
|
13 |
- self.assertEqual(response.status_code, 200)
|
|
14 |
-
|
|
15 |
def test_private_view_is_private(self):
|
|
16 |
response = self.client.get(reverse('protected_view'))
|
|
17 |
self.assertEqual(response.status_code, 302)
|
|
0 |
remove-broken-test.patch
|
debian/python-django-stronghold.docs
less
more
0 | |
README.rst
|
1 | |
CONTRIBUTING.md
|
3 | 3 |
export PYBUILD_NAME=django-stronghold
|
4 | 4 |
|
5 | 5 |
%:
|
6 | |
dh $@ --with python2,python3 --buildsystem=pybuild
|
|
6 |
dh $@ --with python3 --buildsystem=pybuild
|
7 | 7 |
|
8 | 8 |
override_dh_auto_test:
|
9 | |
python2 test_project/manage.py test --pythonpath=. --settings=test_project.settings stronghold.tests
|
10 | 9 |
python3 test_project/manage.py test --pythonpath=. --settings=test_project.settings stronghold.tests
|