Robot Framework Integrated Development Environment (RIDE)
asserts.py File Reference

Go to the source code of this file.

Namespaces

 robotide.lib.robot.utils.asserts
 

Functions

def robotide.lib.robot.utils.asserts._format_message (obj1, obj2, delim, formatter=None)
 
def robotide.lib.robot.utils.asserts._report_failure (msg)
 
def robotide.lib.robot.utils.asserts._report_inequality (obj1, obj2, delim, msg=None, values=False, formatter=None, extra=None)
 
def robotide.lib.robot.utils.asserts.assert_almost_equal (first, second, places=7, msg=None, values=True)
 Fail if the two objects are unequal after rounded to given places. More...
 
def robotide.lib.robot.utils.asserts.assert_equal (first, second, msg=None, values=True, formatter=None)
 Fail if given objects are unequal as determined by the '==' operator. More...
 
def robotide.lib.robot.utils.asserts.assert_false (expr, msg=None)
 Fail the test if the expression is True. More...
 
def robotide.lib.robot.utils.asserts.assert_none (obj, msg=None, values=True)
 Fail the test if given object is not None. More...
 
def robotide.lib.robot.utils.asserts.assert_not_almost_equal (first, second, places=7, msg=None, values=True)
 Fail if the two objects are unequal after rounded to given places. More...
 
def robotide.lib.robot.utils.asserts.assert_not_equal (first, second, msg=None, values=True, formatter=None)
 Fail if given objects are equal as determined by the '==' operator. More...
 
def robotide.lib.robot.utils.asserts.assert_not_none (obj, msg=None, values=True)
 Fail the test if given object is None. More...
 
def robotide.lib.robot.utils.asserts.assert_raises (exc_class, callable_obj, *args, **kwargs)
 Fail unless an exception of class exc_class is thrown by callable_obj. More...
 
def robotide.lib.robot.utils.asserts.assert_raises_with_msg (exc_class, expected_msg, callable_obj, *args, **kwargs)
 Similar to fail_unless_raises but also checks the exception message. More...
 
def robotide.lib.robot.utils.asserts.assert_true (expr, msg=None)
 Fail the test unless the expression is True. More...
 
def robotide.lib.robot.utils.asserts.fail (msg=None)
 Fail test immediately with the given message. More...