def get_mock_data(self, optional=True): mock_data = super().get_mock_data() mock_data.update({ 'short_name': '[Shot name]', 'location': '[Project location]', 'project_name': '[Client Name]', 'timezone_name': 'Europe/Madrid', 'timezone_utc': '+1.00', 'start_at': '2017-08-03T10:00:00.000000', 'public_url': '/{}'.format(faker.uri_path()), 'total_questions': faker.pyint(), 'your_answers': faker.pyint(), 'rating': 4, 'disable_notification_url': '/{}'.format(faker.uri_path()), }) return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': '[Name]', 'disable_notification_url': None, 'roles': [{ 'total': faker.pyint(), 'name': '[Role Name]', 'opportunities': [{ 'title': '[Title]', 'entity': 'Client Name', 'description': '[Description]', 'url': '/{}'.format(faker.uri_path()), 'deadline': '14 november 2019' } for _ in range(3)] } for _ in range(2)], 'total': faker.pyint(), 'other_total': faker.pyint(), 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): answers = [{ 'question': faker.text(), 'response': faker.boolean(), 'response_text': ['Yes', 'No'][random.randint(0, 1)] } for _ in range(random.randint(0, 2))] mock_data = { 'title': '[Role] for [Project Name]', 'applicant_name': '[EM Name]', 'applicant_profile_picture': faker.image_url(settings.DEFAULT_IMAGE_SIZE, settings.DEFAULT_IMAGE_SIZE), 'applicant_role': '[Applicant User Title]', 'summary': '[Comment]', 'questions_extra_info': '[Extra info from Consultant]', 'applicant_email': '[email]', 'applicant_profile_url': '/{}'.format(faker.uri_path()), 'disable_notification_url': None, 'public_url': '/{}'.format(faker.uri_path()), 'answers': answers, } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'public_url': '/{}'.format(faker.uri_path()), 'post_title': '[Topic title]', 'disable_notification_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = {} circles = [ { 'name': '[Circle Name 1]', 'new_topics': faker.random_digit(), 'new_replies': faker.random_digit(), 'code': 'T', }, { 'name': '[Circle Name 2]', 'new_topics': faker.random_digit(), 'new_replies': faker.random_digit(), 'code': 'C', }, ] mock_data.update({ 'circles': circles, 'new_announcements': faker.random_digit(), 'new_questions': faker.random_digit(), 'public_url': '/{}'.format(faker.uri_path()), 'disable_notification_url': '/{}'.format(faker.uri_path()), }) return mock_data
def get_mock_data(self, optional=True): mock_data = super().get_mock_data() mock_data.update({ 'short_name': '[Shot name]', 'location': '[Project location]', 'timezone_name': 'Europe/Madrid', 'timezone_utc': '+1.00', 'start_at': '2017-08-03T10:00:00.000000', 'public_url': '/{}'.format(faker.uri_path()), 'one_day': faker.boolean(), 'disable_notification_url': '/{}'.format(faker.uri_path()), }) return mock_data
def get_mock_data(self, optional=True): mock_data = { 'user_name': '[[Consultant Short Name]]', 'public_url': '/' + faker.uri_path(), 'user_in_waiting_list': faker.boolean() } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': '[Name]', 'survey_name': '[ExQ Name]', 'organization': '[Organization Name]', 'total': '[ExQ Value]', 'disable_notification_url': None, 'public_url': '/{}'.format(faker.uri_path()), 'results': [{ 'section': 'M', 'section_name': 'Massive Transformative Purpose', 'score': '[score]', 'max_score': '[max_score]', }, { 'section': 'S', 'section_name': 'Staff on-demand', 'score': '[score]', 'max_score': '[max_score]', }] } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'team_name': '[Team Name]', 'project_name': '[Project Name]', 'project_type': '[Project type]', 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': '[Project Name]', 'user_name': '[Name]', 'location': '[New location]', 'disable_notification_url': None, 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'team_name': '[Team Name]', 'roles': ['ExO Sprint Coach'], 'user_name': '[Name]', 'disable_notification_url': None, 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': '[Week/Project]', 'user_name': '[Name]', 'start_date': '[Start date]', 'disable_notification_url': None, 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'title': '[Role Name] for [Project Name]', 'applicant_name': '[EM Name]', 'created_by_name': '[SDM Name]', 'disable_notification_url': None, 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): project_name = faker.word() mock_data = { 'project_type': '[Project_type]', 'project_name': project_name, 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': '[Project Name]', 'roles': ['ExO Head Coach', 'Observer'], 'user_name': '[Name]', 'disable_notification_url': None, 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, option=True): return { 'workshop_name': '[Workshop Name]', 'location': '[City], [Country]', 'date': '[dd MM YYYY]', 'participant_name': '[Attendee Name]', 'participant_email': '[Attendee Email]', 'public_url': '/{}'.format(faker.uri_path()), }
def get_mock_data(self, optional=True): mock_data = { 'full_name': '[Full Name]', 'concept': '[Concept]', 'detail': '[Detail]', 'amount': '[Amount]', 'currency': '[Currency]', 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'title': '[Role Name] for [Project Name]', 'created_by_name': '[SDM Name]', 'duedate_timedelta': '3 days', 'duedate': '[May 29, 12AM]', 'disable_notification_url': None, 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'title': '[Role] for [Opportunity title]', 'created_by_name': '[Created By User]', 'created_by_profile_picture': faker.image_url(settings.DEFAULT_IMAGE_SIZE, settings.DEFAULT_IMAGE_SIZE), 'created_by_user_title': '[User Title]', 'recipient_name': '[Recipient Name]', 'public_url': '/{}'.format(faker.uri_path()), 'disable_notification_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': '[Name]', 'disable_notification_url': None, 'conversations': [ { 'total': faker.pyint(), 'title': random.choice([ 'messages from [User Name]', 'messages related to opportunity [opportunity name]', 'messages related to the project [project name]']), 'user_from_full_name': '[User Name]', 'message': faker.text(), 'url': '/{}'.format(faker.uri_path()), } for _ in range(5) ], 'total': faker.pyint(), 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': faker.word(), 'project_name': faker.word(), 'role_name': faker.word(), 'message': faker.paragraph(), 'subject': '[Subject]', 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'title': '[Role] for [Project Name]', 'applicant_name': '[EM Name]', 'created_by_name': '[SDM Name]', 'disable_notification_url': None, 'requester_name': '[Opportunity Poster Name]', 'comment': faker.text(), 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): project_name = faker.word() team_name = faker.word() mock_data = { 'team_name': team_name, 'project_name': project_name, 'relation_name': '[relation_name]', 'user': faker.first_name(), 'is_coach': random.randint(0, 1), 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': '[Name]', 'disable_notification_url': None, 'roles': [{ 'total': faker.pyint(), 'name': '[Role Name]', } for _ in range(4)], 'total': faker.pyint(), 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'description': '[Description]', 'title': '[Role] for [Opportunity Title]', 'created_by_name': '[Created By User]', 'created_by_profile_picture': faker.image_url(settings.DEFAULT_IMAGE_SIZE, settings.DEFAULT_IMAGE_SIZE), 'created_by_role': '[User Title]', 'tags': [faker.word() for _ in range(random.randint(2, 10))], 'entity_name': '[Entity]', 'location_string': '[Location]', 'start_date': '[day] [month], [year]', 'duration': '[Duration]', 'budget_string': '[Bugdget]', 'public_url': '/{}'.format(faker.uri_path()), 'disable_notification_url': None, 'num_positions': 33, } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'title': '[user-name] started a new conversation [related to <opportunity-name>]|<project-name>]', 'user_from_full_name': '[User From name]', 'user_from_title': '[User from title]', 'user_from_profile_picture': faker.image_url(settings.DEFAULT_IMAGE_SIZE, settings.DEFAULT_IMAGE_SIZE), 'disable_notification_url': None, 'message': faker.text(), 'public_url': '/{}'.format(faker.uri_path()), } return mock_data
def get_mock_data(self, optional=True): mock_data = super().get_mock_data() mock_data.update({ 'short_name': '[Shot name]', 'location': '[Project location]', 'project_name': '[Client Name]', 'timezone_name': 'Europe/Madrid', 'timezone_utc': '+1.00', 'start_at': '2017-08-03T10:00:00.000000', 'disable_notification_url': '/{}'.format(faker.uri_path()), 'my_jobs_url': '/ecosystem/jobs/', }) return mock_data
def get_mock_data(self, optional=True): mock_data = super().get_mock_data() mock_data.update({ 'short_name': '[Short name]', 'requester_name': '[Requester full name]', 'requester_short_name': '[Requester name]', 'requester_profile_picture': faker.image_url(settings.DEFAULT_IMAGE_SIZE, settings.DEFAULT_IMAGE_SIZE), 'user_title': 'Consultant, Coach, Speaker', 'requester_email': faker.email(), 'requester_profile_url': '/{}'.format(faker.uri_path()), 'comment': '[Comment]', }) return mock_data
def get_mock_data(self, optional=True): mock_data = { 'public_url': '/' + faker.uri_path(), } return mock_data
def get_mock_data(self, optional=True): mock_data = { 'name': faker.first_name(), 'public_url': faker.uri_path(), } return mock_data