MCPcopy Create free account
hub / github.com/apache/cloudstack / assertEqual

Method assertEqual

tools/marvin/marvin/cloudstackTestCase.py:89–95  ·  view source on GitHub ↗

Fail if the two objects are unequal as determined by the '==' operator.

(self, first, second, msg=None)

Source from the content-addressed store, hash-verified

87 return
88
89 def assertEqual(self, first, second, msg=None):
90 """Fail if the two objects are unequal as determined by the '=='
91 operator.
92 """
93 if isinstance(msg, str):
94 msg = msg.encode()
95 super(cloudstackTestCase,self).assertEqual(first,second,msg)
96
97 @classmethod
98 def cleanup_resources(cls, api_client, resources):

Callers 15

assertElementInListMethod · 0.80
test_VCenterPortsMethod · 0.80
test_DeployVmMethod · 0.80
test_deploy_vmMethod · 0.80
test_01_stop_vmMethod · 0.80
test_02_start_vmMethod · 0.80
test_06_destroy_vmMethod · 0.80
test_07_restore_vmMethod · 0.80
test_get_tablenameMethod · 0.80

Calls 1

encodeMethod · 0.65

Tested by

no test coverage detected