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