#NEWLINE# def _insert_common_mock_users( self ) : #NEWLINE# #INDENT# user_1_db = UserDB ( name = 'admin' ) #NEWLINE# user_1_db = User . add_or_update ( user_1_db ) #NEWLINE# self . users [ 'admin' ] = user_1_db #NEWLINE# user_2_db = UserDB ( name = 'observer' ) #NEWLINE# user_2_db = User . add_or_update ( user_2_db ) #NEWLINE# self . users [ 'observer' ] = user_2_db #NEWLINE# user_3_db = UserDB ( name = 'no_roles' ) #NEWLINE# user_3_db = User . add_or_update ( user_3_db ) #NEWLINE# self . users [ 'no_roles' ] = user_3_db #NEWLINE# user_4_db = UserDB ( name = '1_custom_role_no_permissions' ) #NEWLINE# user_4_db = User . add_or_update ( user_4_db ) #NEWLINE# self . users [ '1_custom_role_no_permissions' ] = user_4_db #NEWLINE# user_5_db = UserDB ( name = '1_role_pack_grant' ) #NEWLINE# user_5_db = User . add_or_update ( user_5_db ) #NEWLINE# self . users [ 'custom_role_pack_grant' ] = user_5_db