Add view for new tour start page

This will replace the current tour start page
This commit is contained in:
David McDonald
2020-09-29 14:48:56 +01:00
parent f4f2e5d13a
commit 2ba7224a42
7 changed files with 181 additions and 1 deletions

View File

@@ -1169,6 +1169,33 @@ def api_user_active_email_auth(fake_uuid):
return user_data
@pytest.fixture(scope='function')
def active_user_with_permissions_no_mobile(fake_uuid):
user_data = {'id': fake_uuid,
'name': 'Test User',
'password': 'somepassword',
'password_changed_at': str(datetime.utcnow()),
'email_address': 'test@user.gov.uk',
'mobile_number': None,
'state': 'active',
'failed_login_count': 0,
'permissions': {SERVICE_ONE_ID: ['send_texts',
'send_emails',
'send_letters',
'manage_users',
'manage_templates',
'manage_settings',
'manage_api_keys',
'view_activity']},
'platform_admin': False,
'auth_type': 'email_auth',
'organisations': [ORGANISATION_ID],
'services': [SERVICE_ONE_ID],
'current_session_id': None,
}
return user_data
@pytest.fixture(scope='function')
def api_nongov_user_active(fake_uuid):
user_data = {