本文整理汇总了Python中model.user.User.user_0000方法的典型用法代码示例。如果您正苦于以下问题:Python User.user_0000方法的具体用法?Python User.user_0000怎么用?Python User.user_0000使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类model.user.User
的用法示例。
在下文中一共展示了User.user_0000方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_login_with_valid_credentials
# 需要导入模块: from model.user import User [as 别名]
# 或者: from model.user.User import user_0000 [as 别名]
def test_login_with_valid_credentials(app):
'''
Test log in with existing user. Make sure that log in successful
:param app:
:return:
'''
app.login(User.user_0000())
app.login_successful(User.user_0000())
示例2: test_change_email_back
# 需要导入模块: from model.user import User [as 别名]
# 或者: from model.user.User import user_0000 [as 别名]
def test_change_email_back(app):
'''
Change pin back, remember old pin
:param app:
:return:
'''
app.login(User.user_0000())
app.change_email(User.user_0000())
app.logout()
app.remember_pin(User.user_0000())
示例3: test_prepare
# 需要导入模块: from model.user import User [as 别名]
# 或者: from model.user.User import user_0000 [as 别名]
def test_prepare(app):
'''
Log in with existing user and delete active list
:param app:
:return:
'''
app.login(User.user_0000())
app.delete_list()
示例4: test_change_email
# 需要导入模块: from model.user import User [as 别名]
# 或者: from model.user.User import user_0000 [as 别名]
def test_change_email(app):
'''
Change pin, remember new pin
:param app:
:return:
'''
app.login(User.user_0000())
app.change_email(User.user_0000_pin_1111())
app.logout()
app.remember_pin(User.user_0000_pin_1111())