MCPcopy Create free account
hub / github.com/StackStorm/st2 / test_equals_fail

Method test_equals_fail

st2common/tests/unit/test_operators.py:906–909  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

904 self.assertTrue(op("1", "1"), "Failed equals.")
905
906 def test_equals_fail(self):
907 op = operators.get_operator("equals")
908 self.assertFalse(op("1", "2"), "Passed equals.")
909 self.assertFalse(op("1", None), "Passed equals with None as criteria_pattern.")
910
911 def test_nequals(self):
912 op = operators.get_operator("nequals")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected