MCPcopy Create free account
hub / github.com/piccolo-orm/piccolo / test_other

Method test_other

tests/utils/test_sql_values.py:60–67  ·  view source on GitHub ↗

Make sure simple Python values are returned correctly.

(self)

Source from the content-addressed store, hash-verified

58 )
59
60 def test_other(self):
61 """
62 Make sure simple Python values are returned correctly.
63 """
64 self.assertEqual(
65 convert_to_sql_value(value=1, column=Integer()),
66 1,
67 )
68
69 def test_convert_enum_list(self):
70 """

Callers

nothing calls this directly

Calls 3

convert_to_sql_valueFunction · 0.90
IntegerClass · 0.90
assertEqualMethod · 0.80

Tested by

no test coverage detected