Private
Public Access
1
0

navionics loaded over https

This commit is contained in:
Sander Roosendaal
2017-11-01 20:44:17 +01:00
parent bbefd8c545
commit 97e16e9ef2
2 changed files with 12 additions and 3 deletions

View File

@@ -29,6 +29,8 @@ from rowers.views import error500_view,error404_view,error400_view,error403_view
from dataprep import delete_strokedata
from redis import StrictRedis
redis_connection = StrictRedis()
@@ -299,6 +301,7 @@ class TestErrorPages(TestCase):
class NewUserRegistrationTest(TestCase):
def setUp(self):
self.c = Client()
redis_connection.publish('tasks','KILL')
def test_newuser(self):
form_data = {
@@ -323,6 +326,7 @@ class NewUserRegistrationTest(TestCase):
class WorkoutTests(TestCase):
def setUp(self):
redis_connection.publish('tasks','KILL')
u = User.objects.create_user('john',
'sander@ds.ds',
'koeinsloot')
@@ -342,6 +346,7 @@ class WorkoutTests(TestCase):
class C2Tests(TestCase):
def setUp(self):
redis_connection.publish('tasks','KILL')
self.u = User.objects.create_user('john',
'sander@ds.ds',
'koeinsloot')
@@ -359,6 +364,7 @@ class C2Tests(TestCase):
class DataTest(TestCase):
def setUp(self):
redis_connection.publish('tasks','KILL')
u = User.objects.create_user('john',
'sander@ds.ds',
'koeinsloot')
@@ -538,6 +544,7 @@ class DataTest(TestCase):
class ViewTest(TestCase):
def setUp(self):
redis_connection.publish('tasks','KILL')
self.c = Client()
self.u = User.objects.create_user('john',
'sander@ds.ds',
@@ -1205,6 +1212,7 @@ class ViewTest(TestCase):
class subroutinetests(TestCase):
def setUp(self):
redis_connection.publish('tasks','KILL')
u = User.objects.create_user('john',
'sander@ds.ds',
'koeinsloot')
@@ -1229,6 +1237,7 @@ class subroutinetests(TestCase):
class PlotTests(TestCase):
def setUp(self):
redis_connection.publish('tasks','KILL')
u = User.objects.create_user('john',
'sander@ds.ds',
'koeinsloot')