MCPcopy Create free account
hub / github.com/alephdata/aleph / test_getintlist

Method test_getintlist

aleph/tests/test_search_parser.py:35–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 self.assertEqual(args.filters["key3"], set(["foo4"]))
34
35 def test_getintlist(self):
36 self.assertEqual(args.getintlist("myint"), [100, 105])
37 self.assertEqual(args.getintlist("notakey"), [])
38 self.assertEqual(args.getintlist("notakey", [8]), [8])
39
40 def test_getint(self):
41 self.assertEqual(args.getint("myint"), 100)

Callers

nothing calls this directly

Calls 1

getintlistMethod · 0.80

Tested by

no test coverage detected