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:1119–1124 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1117
assert queue.get()
1118
1119
def
test_update_with_integer(self):
1120
bx = Box()
1121
bx[1] = 4
1122
assert bx[1] == 4
1123
bx.update({1: 2})
1124
assert bx[1] == 2
1125
1126
def
test_get_box_config(self):
1127
bx = Box()
Callers
nothing calls this directly
Calls
2
update
Method · 0.95
Box
Class · 0.90
Tested by
no test coverage detected