MCPcopy Create free account
hub / github.com/bugy/script-server / test_datetime_value

Method test_datetime_value

src/tests/model_helper_test.py:599–602  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

597
598class TestReadDatetime(unittest.TestCase):
599 def test_datetime_value(self):
600 value = datetime.now()
601 actual_value = model_helper.read_datetime_from_config('p1', {'p1': value})
602 self.assertEqual(value, actual_value)
603
604 def test_string_value(self):
605 actual_value = model_helper.read_datetime_from_config('p1', {'p1': '2020-07-10T15:30:59.123456Z'})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected