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

Method test_update_with_integer

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

Source from the content-addressed store, hash-verified

1182 assert queue.get()
1183
1184 def test_update_with_integer(self):
1185 bx = Box()
1186 bx[1] = 4
1187 assert bx[1] == 4
1188 bx.update({1: 2})
1189 assert bx[1] == 2
1190
1191 def test_get_box_config(self):
1192 bx = Box()

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
BoxClass · 0.90

Tested by

no test coverage detected