unittest.FunctionTestCase.assertNotEquals

FunctionTestCase.assertNotEquals(first, second, msg=None)

Fail if the two objects are equal as determined by the ‘!=’ operator.