class documentation
class ResolveDeferredObjectsTests(SynchronousTestCase): (source)
Tests for resolve_deferred_objects
.
Method | test_element |
A PlatedElement within a JSON serializable object replaced by its JSON representation. |
Method | test_resolve |
A JSON serializable object that may contain Deferred s or a Deferred that resolves to a JSON serializable object resolves to an object that contains no Deferred s. |
Method | test_unserializable |
An object that cannot be serialized causes the Deferred to fail with an informative TypeError . |
@given( jsonObject=jsonObjects, data=st.data())
def test_elementSerialized(self, jsonObject, data): (source)
def test_elementSerialized(self, jsonObject, data): (source)
A PlatedElement
within a JSON serializable object replaced by its JSON representation.
@settings( max_examples=500)
@given( jsonObject=jsonObjects, data=st.data())
def test_resolveObjects(self, jsonObject, data): (source)
@given(
def test_resolveObjects(self, jsonObject, data): (source)