本文整理汇总了Python中source.main.Interface.checkdelete方法的典型用法代码示例。如果您正苦于以下问题:Python Interface.checkdelete方法的具体用法?Python Interface.checkdelete怎么用?Python Interface.checkdelete使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类source.main.Interface
的用法示例。
在下文中一共展示了Interface.checkdelete方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_check_memory_cleared
# 需要导入模块: from source.main import Interface [as 别名]
# 或者: from source.main.Interface import checkdelete [as 别名]
def test_check_memory_cleared(self):
"""
func that test for memory cleared
:rtype: object
"""
interface = Interface()
result = interface.delete()
self.assertEqual(result, interface.checkdelete())
QA('Please clear memory', interface.checkdelete())
示例2: test_check_delete
# 需要导入模块: from source.main import Interface [as 别名]
# 或者: from source.main.Interface import checkdelete [as 别名]
def test_check_delete(self):
"""
func that test for deleted data
:rtype: object
"""
interface = Interface()
self.assertEqual(interface.checkdelete(), 1)
示例3: test_check_memory_cleared
# 需要导入模块: from source.main import Interface [as 别名]
# 或者: from source.main.Interface import checkdelete [as 别名]
def test_check_memory_cleared(self):
x = Interface()
result = x.delete()
self.assertEqual(result, x.checkdelete())
QA('Please clear memory', x.checkdelete())
示例4: test_check_delete
# 需要导入模块: from source.main import Interface [as 别名]
# 或者: from source.main.Interface import checkdelete [as 别名]
def test_check_delete(self):
x = Interface()
self.assertEqual(x.checkdelete(), 1)