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

Method test_timediff_lt

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

Source from the content-addressed store, hash-verified

1130 )
1131
1132 def test_timediff_lt(self):
1133 op = operators.get_operator("timediff_lt")
1134 self.assertTrue(
1135 op(date_utils.get_datetime_utc_now().isoformat(), 10),
1136 "Failed test_timediff_lt.",
1137 )
1138
1139 def test_timediff_lt_fail(self):
1140 op = operators.get_operator("timediff_lt")

Callers

nothing calls this directly

Calls 1

isoformatMethod · 0.80

Tested by

no test coverage detected