# Path: account/factories.py
# class AccountFactory(factory.DjangoModelFactory):
#     class Meta:
#         model = Account
# 
#     user = factory.SubFactory(UserFactory)
# 
# DEFAULT_PASSWORD = 'abc@123'


from django.test import TestCase
from django.core.urlresolvers import reverse
from account.factories import AccountFactory, DEFAULT_PASSWORD



class TestNotification(TestCase):
    def setUp(self):
        account = AccountFactory.create()
        self.user = account.user

    def test_access_notification_list(self):

# Path: account/factories.py
# class AccountFactory(factory.DjangoModelFactory):
#     class Meta:
#         model = Account
# 
#     user = factory.SubFactory(UserFactory)
# 
# DEFAULT_PASSWORD = 'abc@123'


# Path: notification/tests.py
from django.test import TestCase
from django.core.urlresolvers import reverse
from account.factories import AccountFactory, DEFAULT_PASSWORD




class TestNotification(TestCase):
    def setUp(self):
        account = AccountFactory.create()
        self.user = account.user

    def test_access_notification_list(self):

        self.client.login(username=self.user.username, password=DEFAULT_PASSWORD)