MCPcopy Create free account
hub / github.com/cdgriffith/Box / test_box_slice

Method test_box_slice

test/test_box.py:1730–1732  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1728 assert box.e.f[1] == 2
1729
1730 def test_box_slice(self):
1731 data = Box(qwe=123, asd=234, q=1)
1732 assert data[:-1] == Box(qwe=123, asd=234)
1733
1734 def test_box_kwargs_should_not_be_included(self):
1735 params = {

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected