# Path: pyvac/tests/case.py
# class ModelTestCase(TestCase):
# class DummyRoute(object):
# class DummyRequest(testing.DummyRequest):
# class UnauthenticatedViewTestCase(TestCase):
# class ViewTestCase(UnauthenticatedViewTestCase):
# class ViewAdminTestCase(ViewTestCase):
#     def setUp(self):
#     def tearDown(self):
#     def auto_translate(string, country):
#     def __init__(self, methodName='runTest'):
#     def setUp(self):
#     def tearDown(self):
#     def create_request(self, params=None, environ=None, matchdict=None,
#                        headers=None, path='/', cookies=None, post=None, **kw):
#     def assertIsRedirect(self, view):
#     def setUp(self):
#     def set_userid(self, userid='admin', permissive=False):
#     def setUp(self):


from pyvac.tests import case
        from pyvac.models import User, Group, Countries
        from pyvac.models import User
        from pyvac.models import User
        from pyvac.views.account import List
        from pyvac.views.account import Create
        from pyvac.models import User, Group
        from pyvac.views.account import Create
        from pyvac.models import User
        from pyvac.views.account import Create
        from pyvac.models import User, Group
        from pyvac.views.account import Edit
        from pyvac.models import User, Group
        from pyvac.views.account import Edit
        from pyvac.models import User
        from pyvac.views.account import Edit
        from pyvac.models import User
        from pyvac.views.account import Delete
        from pyvac.models import User
        from pyvac.views.account import Delete
        from pyvac.models import User
        import uuid


class AccountTestCase(case.ViewTestCase):

    def setUp(self):
        super(AccountTestCase, self).setUp()
        fr_country = Countries.by_name(self.session, 'fr')
        self.account_login = str(uuid.uuid4())
        u = User(login=self.account_login, password='secret',
                 _country=fr_country)
        u.groups.append(Group.by_name(self.session, 'user'))
        self.session.add(u)
        self.session.flush()

# Path: pyvac/tests/case.py
# class ModelTestCase(TestCase):
# class DummyRoute(object):
# class DummyRequest(testing.DummyRequest):
# class UnauthenticatedViewTestCase(TestCase):
# class ViewTestCase(UnauthenticatedViewTestCase):
# class ViewAdminTestCase(ViewTestCase):
#     def setUp(self):
#     def tearDown(self):
#     def auto_translate(string, country):
#     def __init__(self, methodName='runTest'):
#     def setUp(self):
#     def tearDown(self):
#     def create_request(self, params=None, environ=None, matchdict=None,
#                        headers=None, path='/', cookies=None, post=None, **kw):
#     def assertIsRedirect(self, view):
#     def setUp(self):
#     def set_userid(self, userid='admin', permissive=False):
#     def setUp(self):


# Path: pyvac/tests/views/test_account.py
from pyvac.tests import case
        from pyvac.models import User, Group, Countries
        from pyvac.models import User
        from pyvac.models import User
        from pyvac.views.account import List
        from pyvac.views.account import Create
        from pyvac.models import User, Group
        from pyvac.views.account import Create
        from pyvac.models import User
        from pyvac.views.account import Create
        from pyvac.models import User, Group
        from pyvac.views.account import Edit
        from pyvac.models import User, Group
        from pyvac.views.account import Edit
        from pyvac.models import User
        from pyvac.views.account import Edit
        from pyvac.models import User
        from pyvac.views.account import Delete
        from pyvac.models import User
        from pyvac.views.account import Delete
        from pyvac.models import User
        import uuid



class AccountTestCase(case.ViewTestCase):

    def setUp(self):
        super(AccountTestCase, self).setUp()
        fr_country = Countries.by_name(self.session, 'fr')
        self.account_login = str(uuid.uuid4())
        u = User(login=self.account_login, password='secret',
                 _country=fr_country)
        u.groups.append(Group.by_name(self.session, 'user'))
        self.session.add(u)
        self.session.flush()

        self.account_id = u.id