UseCases.libs.JSONDataSerializer.export.020_add_new.Case000 package¶
Submodules¶
UseCases.libs.JSONDataSerializer.export.020_add_new.Case000.CallCase module¶
Import of new branches by jsondata.JSONDataSerializer.branch_import().
-
class
UseCases.libs.JSONDataSerializer.export.020_add_new.Case000.CallCase.
CallUnits
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Base branch import by branch_add.
-
testCase500
()[source]¶ Import another branch into initial main/master data, and validate it with branch schema.
- 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.
-
testCase502
()[source]¶ Import a branch into initial main/master data, and validate it with branch schema.
- Use insertion point:
- target = configdata.data[‘phoneNumber’]
- for file:
‘branch2.json’ #—
- {
- “type”:”home2”, “number”:”333 222-333”
}
#—
Apply ‘$schema’ key for branch/subtree of master schema.
-
Module contents¶
Add a branch.