UseCases.libs.JSONData.branch_copy.list_replace_item_by_key package¶
Submodules¶
UseCases.libs.JSONData.branch_copy.list_replace_item_by_key.CallCase module¶
Add new branches by jsondata.JSONDataSerializer.branch_add().
-
class
UseCases.libs.JSONData.branch_copy.list_replace_item_by_key.CallCase.
CallUnits
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Base branch_add.
-
testCase500
()[source]¶ Import another branch into memory and add the representation into the initial master data.
- Use insertion point:
- target = configdata.data[‘phoneNumber’]
- for file:
‘branch1.json’ #—
- {
- “type”:”home2”, “number”:”222 222-333”
}
#—
Apply ‘$schema’ key for branch/subtree of master schema.
-
Module contents¶
Add a branch.