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

Method test_timediff_lt_fail

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

Source from the content-addressed store, hash-verified

1137 )
1138
1139 def test_timediff_lt_fail(self):
1140 op = operators.get_operator("timediff_lt")
1141 self.assertFalse(
1142 op("2014-07-01T00:01:01.000000", 10), "Passed test_timediff_lt."
1143 )
1144 self.assertFalse(
1145 op("2014-07-01T00:01:01.000000", None),
1146 "Passed test_timediff_lt with None as criteria_pattern.",
1147 )
1148
1149 def test_timediff_lt_webui_value(self):
1150 op = operators.get_operator("timediff_lt")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected