Exemplo n.º 1
0
 def test_exporting_a_context(self):
     TestImportAttributes().test_importing_a_context()
     assert subject.export_attributes() == {
         "ContextIdentifier": "ContextIdentifier",
         "ContextType": "ContextType",
         "CoordinateSpaceDimension": 1,
         "Precision": 1,
     }
Exemplo n.º 2
0
 def test_exporting_a_subcontext(self):
     TestImportAttributes().test_importing_a_subcontext()
     assert subject.export_attributes() == {
         "TargetScale": 0.5,
         "TargetView": "NOTDEFINED",
         "UserDefinedTargetView": "UserDefinedTargetView",
         "ContextIdentifier": None,
         "ContextType": None,
     }