Skip to content

Instantly share code, notes, and snippets.

@msiemens
Last active December 16, 2015 02:29
Show Gist options
  • Save msiemens/5362936 to your computer and use it in GitHub Desktop.
Save msiemens/5362936 to your computer and use it in GitHub Desktop.
Nosetests Assertion Methods
assertion_methods = [
'assert_almost_equal(s)'
'assert_dict_contains_subset',
'assert_dict_equal',
'assert_equal(s)',
'assert_false',
'assert_greater',
'assert_greater_equal',
'assert_in',
'assert_is',
'assert_is_instance',
'assert_is_none',
'assert_is_not',
'assert_is_not_none',
'assert_items_equal',
'assert_less',
'assert_less_equal',
'assert_list_equal',
'assert_multi_line_equal',
'assert_not_almost_equal(s)',
'assert_not_equal(s)',
'assert_not_in',
'assert_not_is_instance',
'assert_not_regexp_matches',
'assert_raises',
'assert_raises_regexp',
'assert_regexp_matches',
'assert_sequence_equal',
'assert_set_equal',
'assert_true',
'assert_tuple_equal',
'eq_',
'ok_'
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment