Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ test_update_with_integer
Method
test_update_with_integer
test/test_box.py:857–862 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
855
assert queue.get()
856
857
def
test_update_with_integer(self):
858
bx = Box()
859
bx[1] = 4
860
assert bx[1] == 4
861
bx.update({1: 2})
862
assert bx[1] == 2
863
864
def
test_get_box_config(self):
865
bx = Box()
Callers
nothing calls this directly
Calls
2
update
Method · 0.95
Box
Class · 0.90
Tested by
no test coverage detected