Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
erp5
Commits
c5e2f481
Commit
c5e2f481
authored
5 years ago
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5TypeTestCase: fix indentation
parent
bc3e35a0
master
DateTime.equalTo_fix
TMP-2to3
UpdateValidationStateFromConsistency
UserPropertySheet_backward_compatibility
addToDate_implicit_localtime
arnau
arnau-RD-Components-CacheTool
arnau-RD-Components-ERP5Form-ERP5Report
arnau-RD-Components-ERP5Form-SelectionTool-MemcachedTool
arnau-RD-Components-ERP5OOo
arnau-RD-Components-PreferenceTool-Preference
arnau-RD-Components-Products-import-compat
arnau-RD-Components-astroid_cache_per_component_reset
arnau-RD-Components-erp5_crm
arnau-RD-Components-erp5_trade-TODO-Interactor
arnau-RD-ERP5ify-portal_workflow-1-seb-merged-with-recent-master
arnau-RD-ERP5ify-portal_workflow-2-do-not-rename-erp5_workflow-portal_types
arnau-RD-ERP5ify-portal_workflow-BAK
arnau-RD-ERP5ify-portal_workflow-WIP
arnau-RD-ERP5ify-portal_workflow-WITHOUT-MIGRATION
arnau-RD-ERP5ify-portal_workflow-WORKFLOWS-NOT-MIGRATED
arnau-RD-py3-master-TM
arnau-RD-py3-master-TM-BAK
arnau-RD-py3-master-WIP
arnau-RD-py3-master-WIP-BAK
arnau-RD-py3-master-WIP-bt5-and-tests
arnau-RD-zope4py3
arnau-TM-Components-Migrate-PortalTransforms
arnau-TM-Components-ModuleSecurityInfo
arnau-TM-WIP
arnau-TM-newContent-temp_object
arnau-TM-runUnitTest-clear-previous-execution-catalog
arnau-TM-wkhtmltopdf
arnau-WIP
arnau-my2to3
arnau-zope4py2
aurel-zope4py2
cache-control-304-response
cloud_reliability_test
cribjs-bootloader
drop-ZServer
e2e-erp5
enhance_scalability_testing
erp5-component
erp5-component-bak
erp5-vifib
erp5-vifib-no-Products.DCWorkflowGraph
erp5_drone_simulator
erp5_payslip_migration
extend_login_once_form
feat/catalog_unhandled_search_type_raise
feat/coding_style_test
feat/dedup_roles_in_pickles
feat/dms_implicit_predecessor_successor_fields
feat/erp5_ide
feat/erp5pt
feat/improve_rounding_tool
feat/inventory_api_group_by_time_interval_list
feat/lxml-html-snapshot
feat/mariadb-10.11
feat/mariadb-10.11bis
feat/mariadb-10.5
feat/mariadb-10.6
feat/notification-message-ignore-missing
feat/python_language_support
feat/round_half_up
feat/selenium-unexpected-success
feat/slapos_agent_distributor
feat/subject_set_query
feat/tester_role
fix/TALES_hide_error
fix/ZMI_editor_preference
fix/advance_ecommerce_coding_crimes
fix/erp5_site_global_id
fix/mariadb-1927
fix/monaco-altClick
fix/officejs_support_request_rss_secu
fix/state_var
fix/testnode_proctitle
fix/workflow_method_security
fix_web_illustration
for_testrunner_1
for_testrunner_2
for_testrunner_3
graphic_gadget_js
limit_accelerated_http_cache_manager
lle-bout/metadata-modules
master_w
mr1362
my2to3
nicolas-slice-price
notebook_roque
override_cache_control_header_by_caching_policy_manager
poc/json-forms-study
publish_recursiveReindexObject
restore-from-trashbin
revert-192c2000
rfc/activate_default
rjs_listbox_sort_icon
roque_quick
scalability_crash_mariadb
shop-box-rebase
support_legacy_sftp_server
support_relative_url_in_hyperlink_field
support_request
test-renderjs-float-field-step
test_cmfactivity_isolation_level
test_dynamic_methods
tomo_testnode_slap_request
translatable_path_master
trustable-x-forwarded-for
unify_predicate_edit
waitForActivities_assertionMessage
without_legacy_workflow
wsgi
wsgi_backport_setbody_lock
wsgi_medusa_stream_fix
zope2
zope2zope4py2
zope4py3
zope4py3-master-rebase
0.4.59.1
0.4.59
nexedi-erp5-vifib-20201105
erp5.util-0.4.74
erp5.util-0.4.73
erp5.util-0.4.72
erp5.util-0.4.71
erp5.util-0.4.69
erp5.util-0.4.68
erp5.util-0.4.67
erp5.util-0.4.66
erp5.util-0.4.65
erp5.util-0.4.64
erp5.util-0.4.63
erp5.util-0.4.62
erp5.util-0.4.61
erp5.util-0.4.60
erp5.util-0.4.59.1
erp5.util-0.4.59
erp5-vifib-20240326
erp5-vifib-20230331
erp5-vifib-20230201
erp5-vifib-20220526
erp5-vifib-20220302
erp5-vifib-20210707
erp5-vifib-20201229
erp5-vifib-20200129
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5Type/tests/ERP5TypeTestCase.py
product/ERP5Type/tests/ERP5TypeTestCase.py
+4
-4
No files found.
product/ERP5Type/tests/ERP5TypeTestCase.py
View file @
c5e2f481
...
...
@@ -281,10 +281,10 @@ class ERP5TypeTestCaseMixin(ProcessingNodeTestCase, PortalTestCase):
newSecurityManager
(
None
,
user
)
def
whoami
(
self
):
"""
Returns username of currently logged in user
"""
self
.
portal
.
portal_membership
.
getAuthenticatedMember
().
getUserName
()
"""
Returns username of currently logged in user
"""
self
.
portal
.
portal_membership
.
getAuthenticatedMember
().
getUserName
()
def
changeSkin
(
self
,
skin_name
):
"""
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment