Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/encode/django-rest-framework
/ test_one_key
Method
test_one_key
tests/test_serializer.py:771–774 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
769
assert ret == {
'a'
: 1,
'b'
: 2}
770
771
def
test_one_key(self):
772
ret = {
'a'
: 1}
773
self.s.set_value(ret, [
'x'
], 2)
774
assert ret == {
'a'
: 1,
'x'
: 2}
775
776
def
test_nested_key(self):
777
ret = {
'a'
: 1}
Callers
nothing calls this directly
Calls
1
set_value
Method · 0.80
Tested by
no test coverage detected