Private
Public Access
1
0

Merge branch 'develop' into feature/django2

This commit is contained in:
Sander Roosendaal
2019-03-31 16:02:36 +02:00
20 changed files with 1917 additions and 48 deletions

View File

@@ -283,7 +283,7 @@ class URLTests(TestCase):
for u in urls:
if u not in tested and 'rowers' in u and 'http' not in u and 'authorize' not in u and 'import' not in u and 'logout' not in u:
response2 = self.c.get(u)
if response2.status_code not in [200,302]:
if response2.status_code not in [200,302,301]:
print(len(tested))
print(response.templates[0].name)
print(url)
@@ -291,7 +291,7 @@ class URLTests(TestCase):
print(response2.status_code)
tested.append(u)
self.assertIn(response2.status_code,
[200,302])
[200,302,301])
else:
tested.append(u)

View File

@@ -0,0 +1,3 @@

File diff suppressed because it is too large Load Diff