@ -7,6 +7,7 @@ from hc.api.models import Channel | |||||
class AddChannelTestCase(TestCase): | class AddChannelTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(AddChannelTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Check | |||||
class AddCheckTestCase(TestCase): | class AddCheckTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(AddCheckTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Channel | |||||
class ChannelChecksTestCase(TestCase): | class ChannelChecksTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(ChannelChecksTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Check, Ping | |||||
class LogTestCase(TestCase): | class LogTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(LogTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Check | |||||
class MyChecksTestCase(TestCase): | class MyChecksTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(MyChecksTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Channel | |||||
class RemoveChannelTestCase(TestCase): | class RemoveChannelTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(RemoveChannelTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Check | |||||
class RemoveCheckTestCase(TestCase): | class RemoveCheckTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(RemoveCheckTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Channel, Check | |||||
class UpdateChannelTestCase(TestCase): | class UpdateChannelTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(UpdateChannelTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Check | |||||
class UpdateNameTestCase(TestCase): | class UpdateNameTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(UpdateNameTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Check | |||||
class UpdateTimeoutTestCase(TestCase): | class UpdateTimeoutTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(UpdateTimeoutTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.api.models import Channel | |||||
class VerifyEmailTestCase(TestCase): | class VerifyEmailTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(VerifyEmailTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -7,6 +7,7 @@ from mock import Mock, patch | |||||
class BillingTestCase(TestCase): | class BillingTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(BillingTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -7,6 +7,7 @@ from mock import patch | |||||
class CancelPlanTestCase(TestCase): | class CancelPlanTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(CancelPlanTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -8,6 +8,7 @@ from mock import patch | |||||
class CreatePlanTestCase(TestCase): | class CreatePlanTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(CreatePlanTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -7,6 +7,7 @@ from mock import patch | |||||
class GetClientTokenTestCase(TestCase): | class GetClientTokenTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(GetClientTokenTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -7,6 +7,7 @@ from mock import Mock, patch | |||||
class InvoiceTestCase(TestCase): | class InvoiceTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(InvoiceTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||
@ -6,6 +6,7 @@ from hc.payments.models import Subscription | |||||
class PricingTestCase(TestCase): | class PricingTestCase(TestCase): | ||||
def setUp(self): | def setUp(self): | ||||
super(PricingTestCase, self).setUp() | |||||
self.alice = User(username="alice", email="[email protected]") | self.alice = User(username="alice", email="[email protected]") | ||||
self.alice.set_password("password") | self.alice.set_password("password") | ||||
self.alice.save() | self.alice.save() | ||||