Beispiel #1
0
    def test_is_serializable_to_json_with_not_serializable_type(self):
        annotation = Tuple

        results = utils.is_serializable_to_json(annotation)
        self.assertFalse(results)
Beispiel #2
0
    def test_is_mb_sdk_resource_noun_type_with_not_noun_type(self):
        annotation = Tuple

        results = utils.is_serializable_to_json(annotation)
        self.assertFalse(results)
Beispiel #3
0
    def test_is_serializable_to_json_with_serializable_type(self):
        annotation = Dict

        results = utils.is_serializable_to_json(annotation)
        self.assertTrue(results)