| 1 | running test |
|---|
| 2 | running egg_info |
|---|
| 3 | writing PyAMF.egg-info/PKG-INFO |
|---|
| 4 | writing top-level names to PyAMF.egg-info/top_level.txt |
|---|
| 5 | writing dependency_links to PyAMF.egg-info/dependency_links.txt |
|---|
| 6 | writing requirements to PyAMF.egg-info/requires.txt |
|---|
| 7 | writing manifest file 'PyAMF.egg-info/SOURCES.txt' |
|---|
| 8 | running build_ext |
|---|
| 9 | test_types (test_amf0.TypesTestCase) ... ok |
|---|
| 10 | test_add (test_amf0.ContextTestCase) ... ok |
|---|
| 11 | test_clear (test_amf0.ContextTestCase) ... ok |
|---|
| 12 | test_copy (test_amf0.ContextTestCase) ... ok |
|---|
| 13 | test_create (test_amf0.ContextTestCase) ... ok |
|---|
| 14 | test_get_by_reference (test_amf0.ContextTestCase) ... ok |
|---|
| 15 | test_get_reference (test_amf0.ContextTestCase) ... ok |
|---|
| 16 | test_amf3 (test_amf0.EncoderTestCase) ... ok |
|---|
| 17 | test_anonymous (test_amf0.EncoderTestCase) ... ok |
|---|
| 18 | test_boolean (test_amf0.EncoderTestCase) ... ok |
|---|
| 19 | test_bytestring (test_amf0.EncoderTestCase) ... FAIL |
|---|
| 20 | test_complex_list (test_amf0.EncoderTestCase) ... ok |
|---|
| 21 | test_custom_type (test_amf0.EncoderTestCase) ... ok |
|---|
| 22 | test_date (test_amf0.EncoderTestCase) ... ok |
|---|
| 23 | test_dict (test_amf0.EncoderTestCase) ... ok |
|---|
| 24 | test_dynamic (test_amf0.EncoderTestCase) ... FAIL |
|---|
| 25 | test_elementtree_tag (test_amf0.EncoderTestCase) ... FAIL |
|---|
| 26 | test_force_amf3 (test_amf0.EncoderTestCase) ... ok |
|---|
| 27 | test_getstate (test_amf0.EncoderTestCase) ... ok |
|---|
| 28 | test_list (test_amf0.EncoderTestCase) ... ok |
|---|
| 29 | test_longstring (test_amf0.EncoderTestCase) ... ok |
|---|
| 30 | test_mixed_array (test_amf0.EncoderTestCase) ... FAIL |
|---|
| 31 | test_null (test_amf0.EncoderTestCase) ... ok |
|---|
| 32 | test_number (test_amf0.EncoderTestCase) ... ok |
|---|
| 33 | test_object (test_amf0.EncoderTestCase) ... ok |
|---|
| 34 | test_old_style_classes (test_amf0.EncoderTestCase) ... ok |
|---|
| 35 | test_string (test_amf0.EncoderTestCase) ... FAIL |
|---|
| 36 | test_typed_object (test_amf0.EncoderTestCase) ... ok |
|---|
| 37 | test_undefined (test_amf0.EncoderTestCase) ... ok |
|---|
| 38 | test_unsupported (test_amf0.EncoderTestCase) ... ok |
|---|
| 39 | test_xml (test_amf0.EncoderTestCase) ... ERROR |
|---|
| 40 | test_xml_references (test_amf0.EncoderTestCase) ... ERROR |
|---|
| 41 | test_amf3 (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 42 | test_boolean (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 43 | test_classic_class (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 44 | test_complex_list (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 45 | test_date (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 46 | test_dict (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 47 | test_dynamic (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 48 | test_infinites (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 49 | test_list (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 50 | test_longstring (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 51 | test_mixed_array (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 52 | test_null (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 53 | test_number (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 54 | test_number_types (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 55 | test_object (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 56 | test_registered_class (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 57 | test_setstate_classic (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 58 | test_setstate_newstyle (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 59 | test_string (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 60 | test_types (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 61 | test_undefined (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 62 | test_xml (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 63 | test_xml_references (test_amf0.DecoderTestCase) ... ERROR |
|---|
| 64 | test_create (test_amf0.RecordSetTestCase) ... ok |
|---|
| 65 | test_decode (test_amf0.RecordSetTestCase) ... ERROR |
|---|
| 66 | test_encode (test_amf0.RecordSetTestCase) ... ok |
|---|
| 67 | test_server_info (test_amf0.RecordSetTestCase) ... ok |
|---|
| 68 | test_decode (test_amf0.HelperTestCase) ... ERROR |
|---|
| 69 | test_decode_with_context (test_amf0.HelperTestCase) ... ERROR |
|---|
| 70 | test_encode (test_amf0.HelperTestCase) ... ok |
|---|
| 71 | test_encode_with_context (test_amf0.HelperTestCase) ... ok |
|---|
| 72 | test_deep (test_amf0.ClassInheritanceTestCase) ... FAIL |
|---|
| 73 | test_simple (test_amf0.ClassInheritanceTestCase) ... ok |
|---|
| 74 | test_types (test_amf3.TypesTestCase) ... ok |
|---|
| 75 | test_create (test_amf3.ClassDefinitionTestCase) ... ok |
|---|
| 76 | test_get_alias (test_amf3.ClassDefinitionTestCase) ... ok |
|---|
| 77 | test_get_class (test_amf3.ClassDefinitionTestCase) ... ok |
|---|
| 78 | test_name (test_amf3.ClassDefinitionTestCase) ... ok |
|---|
| 79 | test_add_class (test_amf3.ContextTestCase) ... ok |
|---|
| 80 | test_add_legacy_xml (test_amf3.ContextTestCase) ... ok |
|---|
| 81 | test_add_object (test_amf3.ContextTestCase) ... ok |
|---|
| 82 | test_add_string (test_amf3.ContextTestCase) ... ok |
|---|
| 83 | test_clear (test_amf3.ContextTestCase) ... ok |
|---|
| 84 | test_copy (test_amf3.ContextTestCase) ... ok |
|---|
| 85 | test_create (test_amf3.ContextTestCase) ... ok |
|---|
| 86 | test_empty_string (test_amf3.ContextTestCase) ... ok |
|---|
| 87 | test_get_by_reference (test_amf3.ContextTestCase) ... ok |
|---|
| 88 | test_get_reference (test_amf3.ContextTestCase) ... ok |
|---|
| 89 | test_anonymous (test_amf3.EncoderTestCase) ... ok |
|---|
| 90 | test_boolean (test_amf3.EncoderTestCase) ... ok |
|---|
| 91 | test_byte_array (test_amf3.EncoderTestCase) ... ok |
|---|
| 92 | test_bytestring (test_amf3.EncoderTestCase) ... FAIL |
|---|
| 93 | test_custom_type (test_amf3.EncoderTestCase) ... ok |
|---|
| 94 | test_date (test_amf3.EncoderTestCase) ... ok |
|---|
| 95 | test_date_references (test_amf3.EncoderTestCase) ... ok |
|---|
| 96 | test_dict (test_amf3.EncoderTestCase) ... FAIL |
|---|
| 97 | test_elementtree_tag (test_amf3.EncoderTestCase) ... FAIL |
|---|
| 98 | test_empty_key_string (test_amf3.EncoderTestCase) ... ok |
|---|
| 99 | test_get_class_definition (test_amf3.EncoderTestCase) ... ok |
|---|
| 100 | test_get_class_definition_attrs (test_amf3.EncoderTestCase) ... ok |
|---|
| 101 | test_getstate (test_amf3.EncoderTestCase) ... ok |
|---|
| 102 | test_integer (test_amf3.EncoderTestCase) ... ERROR |
|---|
| 103 | test_list (test_amf3.EncoderTestCase) ... ok |
|---|
| 104 | test_list_references (test_amf3.EncoderTestCase) ... ok |
|---|
| 105 | test_mixed_array (test_amf3.EncoderTestCase) ... ERROR |
|---|
| 106 | test_null (test_amf3.EncoderTestCase) ... ok |
|---|
| 107 | test_number (test_amf3.EncoderTestCase) ... ok |
|---|
| 108 | test_object (test_amf3.EncoderTestCase) ... ok |
|---|
| 109 | test_old_style_classes (test_amf3.EncoderTestCase) ... ok |
|---|
| 110 | test_string (test_amf3.EncoderTestCase) ... FAIL |
|---|
| 111 | test_string_references (test_amf3.EncoderTestCase) ... ok |
|---|
| 112 | test_undefined (test_amf3.EncoderTestCase) ... ok |
|---|
| 113 | test_xml (test_amf3.EncoderTestCase) ... ERROR |
|---|
| 114 | test_xmlstring (test_amf3.EncoderTestCase) ... ERROR |
|---|
| 115 | test_boolean (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 116 | test_byte_array (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 117 | test_classic_class (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 118 | test_date (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 119 | test_dict (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 120 | test_get_class_definition (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 121 | test_infinites (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 122 | test_integer (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 123 | test_list (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 124 | test_list_references (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 125 | test_null (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 126 | test_number (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 127 | test_object (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 128 | test_setstate_classic (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 129 | test_setstate_newstyle (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 130 | test_string (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 131 | test_string_references (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 132 | test_types (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 133 | test_undefined (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 134 | test_unsignedInteger (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 135 | test_xml (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 136 | test_xmlstring (test_amf3.DecoderTestCase) ... ERROR |
|---|
| 137 | test_class_references (test_amf3.ObjectEncodingTestCase) ... ok |
|---|
| 138 | test_combined (test_amf3.ObjectEncodingTestCase) ... ok |
|---|
| 139 | test_dynamic (test_amf3.ObjectEncodingTestCase) ... ok |
|---|
| 140 | test_external (test_amf3.ObjectEncodingTestCase) ... ok |
|---|
| 141 | test_object_references (test_amf3.ObjectEncodingTestCase) ... ok |
|---|
| 142 | test_static (test_amf3.ObjectEncodingTestCase) ... ok |
|---|
| 143 | test_combined (test_amf3.ObjectDecodingTestCase) ... ERROR |
|---|
| 144 | test_dynamic (test_amf3.ObjectDecodingTestCase) ... ERROR |
|---|
| 145 | test_external (test_amf3.ObjectDecodingTestCase) ... ERROR |
|---|
| 146 | test_object_references (test_amf3.ObjectDecodingTestCase) ... ERROR |
|---|
| 147 | test_static (test_amf3.ObjectDecodingTestCase) ... ERROR |
|---|
| 148 | test_boolean (test_amf3.DataOutputTestCase) ... ok |
|---|
| 149 | test_byte (test_amf3.DataOutputTestCase) ... ok |
|---|
| 150 | test_create (test_amf3.DataOutputTestCase) ... ok |
|---|
| 151 | test_double (test_amf3.DataOutputTestCase) ... ok |
|---|
| 152 | test_float (test_amf3.DataOutputTestCase) ... ok |
|---|
| 153 | test_int (test_amf3.DataOutputTestCase) ... ok |
|---|
| 154 | test_multi_byte (test_amf3.DataOutputTestCase) ... FAIL |
|---|
| 155 | test_object (test_amf3.DataOutputTestCase) ... ok |
|---|
| 156 | test_short (test_amf3.DataOutputTestCase) ... ok |
|---|
| 157 | test_uint (test_amf3.DataOutputTestCase) ... ok |
|---|
| 158 | test_utf (test_amf3.DataOutputTestCase) ... FAIL |
|---|
| 159 | test_utf_bytes (test_amf3.DataOutputTestCase) ... FAIL |
|---|
| 160 | test_boolean (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 161 | test_byte (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 162 | test_create (test_amf3.DataInputTestCase) ... ok |
|---|
| 163 | test_double (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 164 | test_float (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 165 | test_int (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 166 | test_multi_byte (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 167 | test_object (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 168 | test_short (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 169 | test_uint (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 170 | test_utf (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 171 | test_utf_bytes (test_amf3.DataInputTestCase) ... ERROR |
|---|
| 172 | test_deep (test_amf3.ClassInheritanceTestCase) ... FAIL |
|---|
| 173 | test_simple (test_amf3.ClassInheritanceTestCase) ... ok |
|---|
| 174 | test_decode (test_amf3.HelperTestCase) ... ERROR |
|---|
| 175 | test_decode_with_context (test_amf3.HelperTestCase) ... ERROR |
|---|
| 176 | test_encode (test_amf3.HelperTestCase) ... ok |
|---|
| 177 | test_encode_with_context (test_amf3.HelperTestCase) ... ok |
|---|
| 178 | test_delitem (test_basic.ASObjectTestCase) ... ok |
|---|
| 179 | test_eq (test_basic.ASObjectTestCase) ... ERROR |
|---|
| 180 | test_getitem (test_basic.ASObjectTestCase) ... ok |
|---|
| 181 | test_init (test_basic.ASObjectTestCase) ... ok |
|---|
| 182 | test_iter (test_basic.ASObjectTestCase) ... ok |
|---|
| 183 | test_setitem (test_basic.ASObjectTestCase) ... ok |
|---|
| 184 | test_append (test_basic.ClassMetaDataTestCase) ... ok |
|---|
| 185 | test_contains (test_basic.ClassMetaDataTestCase) ... ok |
|---|
| 186 | test_create (test_basic.ClassMetaDataTestCase) ... ok |
|---|
| 187 | test_anonymous (test_basic.ClassAliasTestCase) ... ok |
|---|
| 188 | test_bad_class (test_basic.ClassAliasTestCase) ... ok |
|---|
| 189 | test_bad_read_func (test_basic.ClassAliasTestCase) ... ok |
|---|
| 190 | test_bad_write_func (test_basic.ClassAliasTestCase) ... ok |
|---|
| 191 | test_call (test_basic.ClassAliasTestCase) ... ok |
|---|
| 192 | test_eq (test_basic.ClassAliasTestCase) ... ok |
|---|
| 193 | test_external (test_basic.ClassAliasTestCase) ... ok |
|---|
| 194 | test_get_attrs (test_basic.ClassAliasTestCase) ... ok |
|---|
| 195 | test_get_class_alias (test_basic.ClassAliasTestCase) ... ok |
|---|
| 196 | test_init (test_basic.ClassAliasTestCase) ... ok |
|---|
| 197 | test_str (test_basic.ClassAliasTestCase) ... ok |
|---|
| 198 | test_decode (test_basic.HelperTestCase) ... ERROR |
|---|
| 199 | test_encode (test_basic.HelperTestCase) ... ok |
|---|
| 200 | test_get_decoder (test_basic.HelperTestCase) ... ok |
|---|
| 201 | test_get_encoder (test_basic.HelperTestCase) ... ok |
|---|
| 202 | test_anonymous (test_basic.RegisterClassTestCase) ... ok |
|---|
| 203 | test_attrs (test_basic.RegisterClassTestCase) ... ok |
|---|
| 204 | test_bad_attr_fun (test_basic.RegisterClassTestCase) ... ok |
|---|
| 205 | test_bad_metadata (test_basic.RegisterClassTestCase) ... ok |
|---|
| 206 | test_dynamic (test_basic.RegisterClassTestCase) ... ok |
|---|
| 207 | test_has_alias (test_basic.RegisterClassTestCase) ... ok |
|---|
| 208 | test_metadata (test_basic.RegisterClassTestCase) ... ok |
|---|
| 209 | test_simple (test_basic.RegisterClassTestCase) ... ok |
|---|
| 210 | test_alias (test_basic.UnregisterClassTestCase) ... ok |
|---|
| 211 | test_klass (test_basic.UnregisterClassTestCase) ... ok |
|---|
| 212 | test_bad_register (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 213 | test_load_class (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 214 | test_load_class_bad_return (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 215 | test_load_class_by_alias (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 216 | test_load_class_by_module (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 217 | test_load_class_by_module_bad (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 218 | test_load_unknown_class (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 219 | test_register (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 220 | test_unregister (test_basic.ClassLoaderTestCase) ... ok |
|---|
| 221 | test_add_callable (test_basic.TypeMapTestCase) ... ok |
|---|
| 222 | test_add_class (test_basic.TypeMapTestCase) ... ok |
|---|
| 223 | test_add_invalid (test_basic.TypeMapTestCase) ... ok |
|---|
| 224 | test_add_multiple (test_basic.TypeMapTestCase) ... ok |
|---|
| 225 | test_add_same (test_basic.TypeMapTestCase) ... ok |
|---|
| 226 | test_get_type (test_basic.TypeMapTestCase) ... ok |
|---|
| 227 | test_remove (test_basic.TypeMapTestCase) ... ok |
|---|
| 228 | test_add (test_basic.ErrorClassMapTestCase) ... ok |
|---|
| 229 | test_remove (test_basic.ErrorClassMapTestCase) ... ok |
|---|
| 230 | test_create (test_flex.ArrayCollectionTestCase) ... ok |
|---|
| 231 | test_decode (test_flex.ArrayCollectionTestCase) ... ERROR |
|---|
| 232 | test_encode (test_flex.ArrayCollectionTestCase) ... ok |
|---|
| 233 | test_decode (test_flex.ObjectProxyTestCase) ... ERROR |
|---|
| 234 | test_encode (test_flex.ObjectProxyTestCase) ... ok |
|---|
| 235 | test_get_attrs (test_flex.ObjectProxyTestCase) ... ok |
|---|
| 236 | test_repr (test_flex_messaging.AbstractMessageTestCase) ... ok |
|---|
| 237 | test_build (test_gateway.FaultTestCase) ... ok |
|---|
| 238 | test_create (test_gateway.FaultTestCase) ... ok |
|---|
| 239 | test_encode (test_gateway.FaultTestCase) ... ERROR |
|---|
| 240 | test_explicit_code (test_gateway.FaultTestCase) ... ok |
|---|
| 241 | test_call (test_gateway.ServiceWrapperTestCase) ... ok |
|---|
| 242 | test_cmp (test_gateway.ServiceWrapperTestCase) ... ok |
|---|
| 243 | test_create (test_gateway.ServiceWrapperTestCase) ... ok |
|---|
| 244 | test_create_preprocessor (test_gateway.ServiceWrapperTestCase) ... ok |
|---|
| 245 | test_call (test_gateway.ServiceRequestTestCase) ... ok |
|---|
| 246 | test_create (test_gateway.ServiceRequestTestCase) ... ok |
|---|
| 247 | test_contains (test_gateway.ServiceCollectionTestCase) ... ok |
|---|
| 248 | test_add_service (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 249 | test_authenticate (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 250 | test_create (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 251 | test_get_response (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 252 | test_long_service_name (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 253 | test_malformed_credentials_header (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 254 | test_process_request (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 255 | test_remove_service (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 256 | test_service_request (test_gateway.BaseGatewayTestCase) ... ok |
|---|
| 257 | test_request (test_gateway.QueryBrowserTestCase) ... ok |
|---|
| 258 | test_class_decorator (test_gateway.AuthenticatorTestCase) ... ok |
|---|
| 259 | test_expose_request_decorator (test_gateway.AuthenticatorTestCase) ... ok |
|---|
| 260 | test_expose_request_keyword (test_gateway.AuthenticatorTestCase) ... ok |
|---|
| 261 | test_func_decorator (test_gateway.AuthenticatorTestCase) ... ok |
|---|
| 262 | test_gateway (test_gateway.AuthenticatorTestCase) ... ok |
|---|
| 263 | test_service (test_gateway.AuthenticatorTestCase) ... ok |
|---|
| 264 | test_decorator (test_gateway.ExposeRequestTestCase) ... ok |
|---|
| 265 | test_default (test_gateway.ExposeRequestTestCase) ... ok |
|---|
| 266 | test_gateway (test_gateway.ExposeRequestTestCase) ... ok |
|---|
| 267 | test_service (test_gateway.ExposeRequestTestCase) ... ok |
|---|
| 268 | test_call (test_gateway.PreProcessingTestCase) ... ok |
|---|
| 269 | test_decorator (test_gateway.PreProcessingTestCase) ... ok |
|---|
| 270 | test_default (test_gateway.PreProcessingTestCase) ... ok |
|---|
| 271 | test_fail (test_gateway.PreProcessingTestCase) ... ok |
|---|
| 272 | test_global (test_gateway.PreProcessingTestCase) ... ok |
|---|
| 273 | test_service (test_gateway.PreProcessingTestCase) ... ok |
|---|
| 274 | test_bad_request (pyamf.tests.gateway.test_wsgi.WSGIServerTestCase) ... ERROR |
|---|
| 275 | test_request_method (pyamf.tests.gateway.test_wsgi.WSGIServerTestCase) ... ok |
|---|
| 276 | test_unknown_request (pyamf.tests.gateway.test_wsgi.WSGIServerTestCase) ... ERROR |
|---|
| 277 | test_cwd (test_imports.JoinPathTestCase) ... ok |
|---|
| 278 | test_empty (test_imports.JoinPathTestCase) ... ok |
|---|
| 279 | test_name (test_imports.JoinPathTestCase) ... ok |
|---|
| 280 | test_prev_dir (test_imports.JoinPathTestCase) ... ok |
|---|
| 281 | test_relative (test_imports.JoinPathTestCase) ... ok |
|---|
| 282 | test_root (test_imports.JoinPathTestCase) ... ok |
|---|
| 283 | test_default (test_imports.GetModuleHooksTestCase) ... ok |
|---|
| 284 | test_existant (test_imports.GetModuleHooksTestCase) ... ok |
|---|
| 285 | test_none (test_imports.GetModuleHooksTestCase) ... ok |
|---|
| 286 | test_getattr (test_imports.LazyModuleTestCase) ... ok |
|---|
| 287 | test_init (test_imports.LazyModuleTestCase) ... ok |
|---|
| 288 | test_setattr (test_imports.LazyModuleTestCase) ... ok |
|---|
| 289 | test_slots (test_imports.LazyModuleTestCase) ... ok |
|---|
| 290 | test_type (test_imports.LazyModuleTestCase) ... ok |
|---|
| 291 | test_lazy (test_imports.IsLazyTestCase) ... ok |
|---|
| 292 | test_loaded (test_imports.IsLazyTestCase) ... ok |
|---|
| 293 | test_module (test_imports.WhenImportedTestCase) ... ok |
|---|
| 294 | test_multipleChildDeepParent (test_imports.WhenImportedTestCase) ... ok |
|---|
| 295 | test_submodule (test_imports.WhenImportedTestCase) ... ok |
|---|
| 296 | test_error (test_imports.FindModuleTestCase) ... ok |
|---|
| 297 | test_package (test_imports.FindModuleTestCase) ... ok |
|---|
| 298 | test_root (test_imports.FindModuleTestCase) ... ok |
|---|
| 299 | test_subpackage (test_imports.FindModuleTestCase) ... ok |
|---|
| 300 | test_amf_version (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 301 | test_client_version (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 302 | test_invalid_body_data_length (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 303 | test_invalid_header_data_length (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 304 | test_message_order (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 305 | test_multiple_headers (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 306 | test_null_msg (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 307 | test_required_header (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 308 | test_simple_body (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 309 | test_simple_header (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 310 | test_string_reference_with_string_headers (test_remoting.DecoderTestCase) ... ERROR |
|---|
| 311 | test_basic (test_remoting.EncoderTestCase) ... ok |
|---|
| 312 | test_header (test_remoting.EncoderTestCase) ... ok |
|---|
| 313 | test_message_order (test_remoting.EncoderTestCase) ... ok |
|---|
| 314 | test_request (test_remoting.EncoderTestCase) ... ok |
|---|
| 315 | test_response (test_remoting.EncoderTestCase) ... ok |
|---|
| 316 | test_request (test_remoting.StrictEncodingTestCase) ... ok |
|---|
| 317 | test_response (test_remoting.StrictEncodingTestCase) ... ok |
|---|
| 318 | test_exception (test_remoting.FaultTestCase) ... ok |
|---|
| 319 | test_kwargs (test_remoting.FaultTestCase) ... ok |
|---|
| 320 | test_call (pyamf.tests.remoting.test_client.ServiceMethodProxyTestCase) ... ok |
|---|
| 321 | test_create (pyamf.tests.remoting.test_client.ServiceMethodProxyTestCase) ... ok |
|---|
| 322 | test_str (pyamf.tests.remoting.test_client.ServiceMethodProxyTestCase) ... ok |
|---|
| 323 | test_call (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok |
|---|
| 324 | test_create (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok |
|---|
| 325 | test_getattr (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok |
|---|
| 326 | test_pending_call (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok |
|---|
| 327 | test_service_call (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok |
|---|
| 328 | test_str (pyamf.tests.remoting.test_client.ServiceProxyTestCase) ... ok |
|---|
| 329 | test_create (pyamf.tests.remoting.test_client.RequestWrapperTestCase) ... ok |
|---|
| 330 | test_null_response (pyamf.tests.remoting.test_client.RequestWrapperTestCase) ... ok |
|---|
| 331 | test_set_response (pyamf.tests.remoting.test_client.RequestWrapperTestCase) ... ok |
|---|
| 332 | test_str (pyamf.tests.remoting.test_client.RequestWrapperTestCase) ... ok |
|---|
| 333 | test_add_request (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 334 | test_append_url_header (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR |
|---|
| 335 | test_close_http_response (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR |
|---|
| 336 | test_create (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 337 | test_credentials (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 338 | test_execute (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... FAIL |
|---|
| 339 | test_execute_single (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR |
|---|
| 340 | test_get_amf_request (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 341 | test_get_request (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 342 | test_get_response (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR |
|---|
| 343 | test_get_service (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 344 | test_port (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 345 | test_remove_request (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 346 | test_replace_url_header (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ERROR |
|---|
| 347 | test_schemes (pyamf.tests.remoting.test_client.RemotingServiceTestCase) ... ok |
|---|
| 348 | test_generate (pyamf.tests.remoting.test_remoteobject.RandomIdGeneratorTestCase) ... ok |
|---|
| 349 | test_generate (pyamf.tests.remoting.test_remoteobject.AcknowlegdementGeneratorTestCase) ... ok |
|---|
| 350 | test_request (pyamf.tests.remoting.test_remoteobject.AcknowlegdementGeneratorTestCase) ... ok |
|---|
| 351 | test_create (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 352 | test_destination (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 353 | test_disconnect (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 354 | test_error (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 355 | test_fail_preprocess (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 356 | test_ping (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 357 | test_preprocess (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 358 | test_request (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 359 | test_too_many_args (pyamf.tests.remoting.test_remoteobject.RequestProcessorTestCase) ... ok |
|---|
| 360 | test_amf3 (test_sol.EncoderTestCase) ... ERROR |
|---|
| 361 | test_encode_header (test_sol.EncoderTestCase) ... ERROR |
|---|
| 362 | test_multiple_values (test_sol.EncoderTestCase) ... ERROR |
|---|
| 363 | test_amf3 (test_sol.DecoderTestCase) ... ERROR |
|---|
| 364 | test_header (test_sol.DecoderTestCase) ... ERROR |
|---|
| 365 | test_invalid_header (test_sol.DecoderTestCase) ... ERROR |
|---|
| 366 | test_invalid_header_length (test_sol.DecoderTestCase) ... ERROR |
|---|
| 367 | test_invalid_header_name_length (test_sol.DecoderTestCase) ... ERROR |
|---|
| 368 | test_invalid_header_padding (test_sol.DecoderTestCase) ... ERROR |
|---|
| 369 | test_invalid_signature (test_sol.DecoderTestCase) ... ERROR |
|---|
| 370 | test_strict_header_length (test_sol.DecoderTestCase) ... FAIL |
|---|
| 371 | test_unknown_encoding (test_sol.DecoderTestCase) ... ERROR |
|---|
| 372 | test_load_file (test_sol.HelperTestCase) ... ERROR |
|---|
| 373 | test_load_name (test_sol.HelperTestCase) ... ERROR |
|---|
| 374 | test_save_file (test_sol.HelperTestCase) ... ERROR |
|---|
| 375 | test_save_name (test_sol.HelperTestCase) ... ERROR |
|---|
| 376 | test_create (test_sol.SOLTestCase) ... ok |
|---|
| 377 | test_save (test_sol.SOLTestCase) ... ERROR |
|---|
| 378 | test_get_datetime (test_util.TimestampTestCase) ... ok |
|---|
| 379 | test_get_timestamp (test_util.TimestampTestCase) ... ok |
|---|
| 380 | test_close (test_util.StringIOProxyTestCase) ... ok |
|---|
| 381 | test_create (test_util.StringIOProxyTestCase) ... ok |
|---|
| 382 | test_flush (test_util.StringIOProxyTestCase) ... ok |
|---|
| 383 | test_getvalue (test_util.StringIOProxyTestCase) ... ok |
|---|
| 384 | test_len (test_util.StringIOProxyTestCase) ... ok |
|---|
| 385 | test_read (test_util.StringIOProxyTestCase) ... ok |
|---|
| 386 | test_readline (test_util.StringIOProxyTestCase) ... ok |
|---|
| 387 | test_readlines (test_util.StringIOProxyTestCase) ... ok |
|---|
| 388 | test_seek (test_util.StringIOProxyTestCase) ... ok |
|---|
| 389 | test_tell (test_util.StringIOProxyTestCase) ... ok |
|---|
| 390 | test_truncate (test_util.StringIOProxyTestCase) ... ok |
|---|
| 391 | test_write (test_util.StringIOProxyTestCase) ... ok |
|---|
| 392 | test_writelines (test_util.StringIOProxyTestCase) ... ok |
|---|
| 393 | test_close (test_util.cStringIOProxyTestCase) ... ok |
|---|
| 394 | test_create (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 395 | test_flush (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 396 | test_getvalue (test_util.cStringIOProxyTestCase) ... ok |
|---|
| 397 | test_len (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 398 | test_read (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 399 | test_readline (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 400 | test_readlines (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 401 | test_seek (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 402 | test_tell (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 403 | test_truncate (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 404 | test_write (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 405 | test_writelines (test_util.cStringIOProxyTestCase) ... ERROR |
|---|
| 406 | test_nan (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 407 | test_read_char (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 408 | test_read_double (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 409 | test_read_float (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 410 | test_read_long (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 411 | test_read_short (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 412 | test_read_uchar (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 413 | test_read_ulong (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 414 | test_read_ushort (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 415 | test_read_utf8_string (test_util.DataTypeMixInTestCase) ... FAIL |
|---|
| 416 | test_write_char (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 417 | test_write_double (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 418 | test_write_float (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 419 | test_write_long (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 420 | test_write_short (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 421 | test_write_uchar (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 422 | test_write_ulong (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 423 | test_write_ushort (test_util.DataTypeMixInTestCase) ... ok |
|---|
| 424 | test_write_utf8_string (test_util.DataTypeMixInTestCase) ... FAIL |
|---|
| 425 | test_add (test_util.BufferedByteStreamTestCase) ... ok |
|---|
| 426 | test_add_pos (test_util.BufferedByteStreamTestCase) ... ok |
|---|
| 427 | test_create (test_util.BufferedByteStreamTestCase) ... ok |
|---|
| 428 | test_eof (test_util.BufferedByteStreamTestCase) ... ERROR |
|---|
| 429 | test_peek (test_util.BufferedByteStreamTestCase) ... ERROR |
|---|
| 430 | test_read (test_util.BufferedByteStreamTestCase) ... ERROR |
|---|
| 431 | test_remaining (test_util.BufferedByteStreamTestCase) ... ERROR |
|---|
| 432 | |
|---|
| 433 | ====================================================================== |
|---|
| 434 | ERROR: test_xml (test_amf0.EncoderTestCase) |
|---|
| 435 | ---------------------------------------------------------------------- |
|---|
| 436 | Traceback (most recent call last): |
|---|
| 437 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 438 | testMethod() |
|---|
| 439 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 238, in test_xml |
|---|
| 440 | '\x00\x19<a><b>hello world</b></a>')]) |
|---|
| 441 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1012, in XML |
|---|
| 442 | return api.fromstring(text) |
|---|
| 443 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 181, in fromstring |
|---|
| 444 | parser = XMLTreeBuilder() |
|---|
| 445 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1164, in __init__ |
|---|
| 446 | raise ImportError( |
|---|
| 447 | ImportError: No module named expat; use SimpleXMLTreeBuilder instead |
|---|
| 448 | |
|---|
| 449 | ====================================================================== |
|---|
| 450 | ERROR: test_xml_references (test_amf0.EncoderTestCase) |
|---|
| 451 | ---------------------------------------------------------------------- |
|---|
| 452 | Traceback (most recent call last): |
|---|
| 453 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 454 | testMethod() |
|---|
| 455 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 241, in test_xml_references |
|---|
| 456 | x = util.ET.fromstring('<a><b>hello world</b></a>') |
|---|
| 457 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1012, in XML |
|---|
| 458 | return api.fromstring(text) |
|---|
| 459 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 181, in fromstring |
|---|
| 460 | parser = XMLTreeBuilder() |
|---|
| 461 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1164, in __init__ |
|---|
| 462 | raise ImportError( |
|---|
| 463 | ImportError: No module named expat; use SimpleXMLTreeBuilder instead |
|---|
| 464 | |
|---|
| 465 | ====================================================================== |
|---|
| 466 | ERROR: test_amf3 (test_amf0.DecoderTestCase) |
|---|
| 467 | ---------------------------------------------------------------------- |
|---|
| 468 | Traceback (most recent call last): |
|---|
| 469 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 470 | testMethod() |
|---|
| 471 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 632, in test_amf3 |
|---|
| 472 | self.assertEquals(self.decoder.readElement(), 1) |
|---|
| 473 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 474 | type = self.readType() |
|---|
| 475 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 476 | type = self.stream.read_uchar() |
|---|
| 477 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 478 | return struct.unpack("B", self._read(1))[0] |
|---|
| 479 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 480 | bytes = self.read(length) |
|---|
| 481 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 482 | if length > 0 and self.at_eof(): |
|---|
| 483 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 484 | return self.tell() >= len(self) |
|---|
| 485 | TypeError: __len__ should return a int |
|---|
| 486 | |
|---|
| 487 | ====================================================================== |
|---|
| 488 | ERROR: test_boolean (test_amf0.DecoderTestCase) |
|---|
| 489 | ---------------------------------------------------------------------- |
|---|
| 490 | Traceback (most recent call last): |
|---|
| 491 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 492 | testMethod() |
|---|
| 493 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 524, in test_boolean |
|---|
| 494 | (False, '\x01\x00')]) |
|---|
| 495 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 496 | e.run(self) |
|---|
| 497 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 498 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 499 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 500 | type = self.readType() |
|---|
| 501 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 502 | type = self.stream.read_uchar() |
|---|
| 503 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 504 | return struct.unpack("B", self._read(1))[0] |
|---|
| 505 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 506 | bytes = self.read(length) |
|---|
| 507 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 508 | if length > 0 and self.at_eof(): |
|---|
| 509 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 510 | return self.tell() >= len(self) |
|---|
| 511 | TypeError: __len__ should return a int |
|---|
| 512 | |
|---|
| 513 | ====================================================================== |
|---|
| 514 | ERROR: test_classic_class (test_amf0.DecoderTestCase) |
|---|
| 515 | ---------------------------------------------------------------------- |
|---|
| 516 | Traceback (most recent call last): |
|---|
| 517 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 518 | testMethod() |
|---|
| 519 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 729, in test_classic_class |
|---|
| 520 | foo = self.decoder.readElement() |
|---|
| 521 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 522 | type = self.readType() |
|---|
| 523 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 524 | type = self.stream.read_uchar() |
|---|
| 525 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 526 | return struct.unpack("B", self._read(1))[0] |
|---|
| 527 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 528 | bytes = self.read(length) |
|---|
| 529 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 530 | if length > 0 and self.at_eof(): |
|---|
| 531 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 532 | return self.tell() >= len(self) |
|---|
| 533 | TypeError: __len__ should return a int |
|---|
| 534 | |
|---|
| 535 | ====================================================================== |
|---|
| 536 | ERROR: test_complex_list (test_amf0.DecoderTestCase) |
|---|
| 537 | ---------------------------------------------------------------------- |
|---|
| 538 | Traceback (most recent call last): |
|---|
| 539 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 540 | testMethod() |
|---|
| 541 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 612, in test_complex_list |
|---|
| 542 | ]) |
|---|
| 543 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 544 | e.run(self) |
|---|
| 545 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 546 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 547 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 548 | type = self.readType() |
|---|
| 549 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 550 | type = self.stream.read_uchar() |
|---|
| 551 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 552 | return struct.unpack("B", self._read(1))[0] |
|---|
| 553 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 554 | bytes = self.read(length) |
|---|
| 555 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 556 | if length > 0 and self.at_eof(): |
|---|
| 557 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 558 | return self.tell() >= len(self) |
|---|
| 559 | TypeError: __len__ should return a int |
|---|
| 560 | |
|---|
| 561 | ====================================================================== |
|---|
| 562 | ERROR: test_date (test_amf0.DecoderTestCase) |
|---|
| 563 | ---------------------------------------------------------------------- |
|---|
| 564 | Traceback (most recent call last): |
|---|
| 565 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 566 | testMethod() |
|---|
| 567 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 562, in test_date |
|---|
| 568 | '\x0bBp+6!\x15\x80\x00\x00\x00')]) |
|---|
| 569 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 570 | e.run(self) |
|---|
| 571 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 572 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 573 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 574 | type = self.readType() |
|---|
| 575 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 576 | type = self.stream.read_uchar() |
|---|
| 577 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 578 | return struct.unpack("B", self._read(1))[0] |
|---|
| 579 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 580 | bytes = self.read(length) |
|---|
| 581 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 582 | if length > 0 and self.at_eof(): |
|---|
| 583 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 584 | return self.tell() >= len(self) |
|---|
| 585 | TypeError: __len__ should return a int |
|---|
| 586 | |
|---|
| 587 | ====================================================================== |
|---|
| 588 | ERROR: test_dict (test_amf0.DecoderTestCase) |
|---|
| 589 | ---------------------------------------------------------------------- |
|---|
| 590 | Traceback (most recent call last): |
|---|
| 591 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 592 | testMethod() |
|---|
| 593 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 548, in test_dict |
|---|
| 594 | '\x00\x09')]) |
|---|
| 595 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 596 | e.run(self) |
|---|
| 597 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 598 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 599 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 600 | type = self.readType() |
|---|
| 601 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 602 | type = self.stream.read_uchar() |
|---|
| 603 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 604 | return struct.unpack("B", self._read(1))[0] |
|---|
| 605 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 606 | bytes = self.read(length) |
|---|
| 607 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 608 | if length > 0 and self.at_eof(): |
|---|
| 609 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 610 | return self.tell() >= len(self) |
|---|
| 611 | TypeError: __len__ should return a int |
|---|
| 612 | |
|---|
| 613 | ====================================================================== |
|---|
| 614 | ERROR: test_dynamic (test_amf0.DecoderTestCase) |
|---|
| 615 | ---------------------------------------------------------------------- |
|---|
| 616 | Traceback (most recent call last): |
|---|
| 617 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 618 | testMethod() |
|---|
| 619 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 656, in test_dynamic |
|---|
| 620 | '\x02\x00\x05world\x00\x00\t')]) |
|---|
| 621 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 622 | e.run(self) |
|---|
| 623 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 624 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 625 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 626 | type = self.readType() |
|---|
| 627 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 628 | type = self.stream.read_uchar() |
|---|
| 629 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 630 | return struct.unpack("B", self._read(1))[0] |
|---|
| 631 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 632 | bytes = self.read(length) |
|---|
| 633 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 634 | if length > 0 and self.at_eof(): |
|---|
| 635 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 636 | return self.tell() >= len(self) |
|---|
| 637 | TypeError: __len__ should return a int |
|---|
| 638 | |
|---|
| 639 | ====================================================================== |
|---|
| 640 | ERROR: test_infinites (test_amf0.DecoderTestCase) |
|---|
| 641 | ---------------------------------------------------------------------- |
|---|
| 642 | Traceback (most recent call last): |
|---|
| 643 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 644 | testMethod() |
|---|
| 645 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 506, in test_infinites |
|---|
| 646 | x = self.decoder.readElement() |
|---|
| 647 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 648 | type = self.readType() |
|---|
| 649 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 650 | type = self.stream.read_uchar() |
|---|
| 651 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 652 | return struct.unpack("B", self._read(1))[0] |
|---|
| 653 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 654 | bytes = self.read(length) |
|---|
| 655 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 656 | if length > 0 and self.at_eof(): |
|---|
| 657 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 658 | return self.tell() >= len(self) |
|---|
| 659 | TypeError: __len__ should return a int |
|---|
| 660 | |
|---|
| 661 | ====================================================================== |
|---|
| 662 | ERROR: test_list (test_amf0.DecoderTestCase) |
|---|
| 663 | ---------------------------------------------------------------------- |
|---|
| 664 | Traceback (most recent call last): |
|---|
| 665 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 666 | testMethod() |
|---|
| 667 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 543, in test_list |
|---|
| 668 | '\x00\x00\x00\x00')]) |
|---|
| 669 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 670 | e.run(self) |
|---|
| 671 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 672 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 673 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 674 | type = self.readType() |
|---|
| 675 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 676 | type = self.stream.read_uchar() |
|---|
| 677 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 678 | return struct.unpack("B", self._read(1))[0] |
|---|
| 679 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 680 | bytes = self.read(length) |
|---|
| 681 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 682 | if length > 0 and self.at_eof(): |
|---|
| 683 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 684 | return self.tell() >= len(self) |
|---|
| 685 | TypeError: __len__ should return a int |
|---|
| 686 | |
|---|
| 687 | ====================================================================== |
|---|
| 688 | ERROR: test_longstring (test_amf0.DecoderTestCase) |
|---|
| 689 | ---------------------------------------------------------------------- |
|---|
| 690 | Traceback (most recent call last): |
|---|
| 691 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 692 | testMethod() |
|---|
| 693 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 533, in test_longstring |
|---|
| 694 | self._run([('a' * 65537, '\x0c\x00\x01\x00\x01' + 'a' * 65537)]) |
|---|
| 695 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 696 | e.run(self) |
|---|
| 697 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 698 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 699 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 700 | type = self.readType() |
|---|
| 701 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 702 | type = self.stream.read_uchar() |
|---|
| 703 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 704 | return struct.unpack("B", self._read(1))[0] |
|---|
| 705 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 706 | bytes = self.read(length) |
|---|
| 707 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 708 | if length > 0 and self.at_eof(): |
|---|
| 709 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 710 | return self.tell() >= len(self) |
|---|
| 711 | TypeError: __len__ should return a int |
|---|
| 712 | |
|---|
| 713 | ====================================================================== |
|---|
| 714 | ERROR: test_mixed_array (test_amf0.DecoderTestCase) |
|---|
| 715 | ---------------------------------------------------------------------- |
|---|
| 716 | Traceback (most recent call last): |
|---|
| 717 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 718 | testMethod() |
|---|
| 719 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 555, in test_mixed_array |
|---|
| 720 | '\x00\x00\t')]) |
|---|
| 721 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 722 | e.run(self) |
|---|
| 723 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 724 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 725 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 726 | type = self.readType() |
|---|
| 727 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 728 | type = self.stream.read_uchar() |
|---|
| 729 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 730 | return struct.unpack("B", self._read(1))[0] |
|---|
| 731 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 732 | bytes = self.read(length) |
|---|
| 733 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 734 | if length > 0 and self.at_eof(): |
|---|
| 735 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 736 | return self.tell() >= len(self) |
|---|
| 737 | TypeError: __len__ should return a int |
|---|
| 738 | |
|---|
| 739 | ====================================================================== |
|---|
| 740 | ERROR: test_null (test_amf0.DecoderTestCase) |
|---|
| 741 | ---------------------------------------------------------------------- |
|---|
| 742 | Traceback (most recent call last): |
|---|
| 743 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 744 | testMethod() |
|---|
| 745 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 536, in test_null |
|---|
| 746 | self._run([(None, '\x05')]) |
|---|
| 747 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 748 | e.run(self) |
|---|
| 749 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 750 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 751 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 752 | type = self.readType() |
|---|
| 753 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 754 | type = self.stream.read_uchar() |
|---|
| 755 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 756 | return struct.unpack("B", self._read(1))[0] |
|---|
| 757 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 758 | bytes = self.read(length) |
|---|
| 759 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 760 | if length > 0 and self.at_eof(): |
|---|
| 761 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 762 | return self.tell() >= len(self) |
|---|
| 763 | TypeError: __len__ should return a int |
|---|
| 764 | |
|---|
| 765 | ====================================================================== |
|---|
| 766 | ERROR: test_number (test_amf0.DecoderTestCase) |
|---|
| 767 | ---------------------------------------------------------------------- |
|---|
| 768 | Traceback (most recent call last): |
|---|
| 769 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 770 | testMethod() |
|---|
| 771 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 480, in test_number |
|---|
| 772 | (1.23456789, '\x00\x3f\xf3\xc0\xca\x42\x83\xde\x1b')]) |
|---|
| 773 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 774 | e.run(self) |
|---|
| 775 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 776 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 777 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 778 | type = self.readType() |
|---|
| 779 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 780 | type = self.stream.read_uchar() |
|---|
| 781 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 782 | return struct.unpack("B", self._read(1))[0] |
|---|
| 783 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 784 | bytes = self.read(length) |
|---|
| 785 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 786 | if length > 0 and self.at_eof(): |
|---|
| 787 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 788 | return self.tell() >= len(self) |
|---|
| 789 | TypeError: __len__ should return a int |
|---|
| 790 | |
|---|
| 791 | ====================================================================== |
|---|
| 792 | ERROR: test_number_types (test_amf0.DecoderTestCase) |
|---|
| 793 | ---------------------------------------------------------------------- |
|---|
| 794 | Traceback (most recent call last): |
|---|
| 795 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 796 | testMethod() |
|---|
| 797 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 500, in test_number_types |
|---|
| 798 | self.assertEquals(type(self.decoder.readElement()), expected_type) |
|---|
| 799 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 800 | type = self.readType() |
|---|
| 801 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 802 | type = self.stream.read_uchar() |
|---|
| 803 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 804 | return struct.unpack("B", self._read(1))[0] |
|---|
| 805 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 806 | bytes = self.read(length) |
|---|
| 807 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 808 | if length > 0 and self.at_eof(): |
|---|
| 809 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 810 | return self.tell() >= len(self) |
|---|
| 811 | TypeError: __len__ should return a int |
|---|
| 812 | |
|---|
| 813 | ====================================================================== |
|---|
| 814 | ERROR: test_object (test_amf0.DecoderTestCase) |
|---|
| 815 | ---------------------------------------------------------------------- |
|---|
| 816 | Traceback (most recent call last): |
|---|
| 817 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 818 | testMethod() |
|---|
| 819 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 589, in test_object |
|---|
| 820 | ({'a': 'b'}, '\x03\x00\x01a\x02\x00\x01b\x00\x00\x09')]) |
|---|
| 821 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 822 | e.run(self) |
|---|
| 823 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 824 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 825 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 826 | type = self.readType() |
|---|
| 827 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 828 | type = self.stream.read_uchar() |
|---|
| 829 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 830 | return struct.unpack("B", self._read(1))[0] |
|---|
| 831 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 832 | bytes = self.read(length) |
|---|
| 833 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 834 | if length > 0 and self.at_eof(): |
|---|
| 835 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 836 | return self.tell() >= len(self) |
|---|
| 837 | TypeError: __len__ should return a int |
|---|
| 838 | |
|---|
| 839 | ====================================================================== |
|---|
| 840 | ERROR: test_registered_class (test_amf0.DecoderTestCase) |
|---|
| 841 | ---------------------------------------------------------------------- |
|---|
| 842 | Traceback (most recent call last): |
|---|
| 843 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 844 | testMethod() |
|---|
| 845 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 598, in test_registered_class |
|---|
| 846 | obj = self.decoder.readElement() |
|---|
| 847 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 848 | type = self.readType() |
|---|
| 849 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 850 | type = self.stream.read_uchar() |
|---|
| 851 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 852 | return struct.unpack("B", self._read(1))[0] |
|---|
| 853 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 854 | bytes = self.read(length) |
|---|
| 855 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 856 | if length > 0 and self.at_eof(): |
|---|
| 857 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 858 | return self.tell() >= len(self) |
|---|
| 859 | TypeError: __len__ should return a int |
|---|
| 860 | |
|---|
| 861 | ====================================================================== |
|---|
| 862 | ERROR: test_setstate_classic (test_amf0.DecoderTestCase) |
|---|
| 863 | ---------------------------------------------------------------------- |
|---|
| 864 | Traceback (most recent call last): |
|---|
| 865 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 866 | testMethod() |
|---|
| 867 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 714, in test_setstate_classic |
|---|
| 868 | foo = self.decoder.readElement() |
|---|
| 869 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 870 | type = self.readType() |
|---|
| 871 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 872 | type = self.stream.read_uchar() |
|---|
| 873 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 874 | return struct.unpack("B", self._read(1))[0] |
|---|
| 875 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 876 | bytes = self.read(length) |
|---|
| 877 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 878 | if length > 0 and self.at_eof(): |
|---|
| 879 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 880 | return self.tell() >= len(self) |
|---|
| 881 | TypeError: __len__ should return a int |
|---|
| 882 | |
|---|
| 883 | ====================================================================== |
|---|
| 884 | ERROR: test_setstate_newstyle (test_amf0.DecoderTestCase) |
|---|
| 885 | ---------------------------------------------------------------------- |
|---|
| 886 | Traceback (most recent call last): |
|---|
| 887 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 888 | testMethod() |
|---|
| 889 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 689, in test_setstate_newstyle |
|---|
| 890 | foo = self.decoder.readElement() |
|---|
| 891 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 892 | type = self.readType() |
|---|
| 893 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 894 | type = self.stream.read_uchar() |
|---|
| 895 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 896 | return struct.unpack("B", self._read(1))[0] |
|---|
| 897 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 898 | bytes = self.read(length) |
|---|
| 899 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 900 | if length > 0 and self.at_eof(): |
|---|
| 901 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 902 | return self.tell() >= len(self) |
|---|
| 903 | TypeError: __len__ should return a int |
|---|
| 904 | |
|---|
| 905 | ====================================================================== |
|---|
| 906 | ERROR: test_string (test_amf0.DecoderTestCase) |
|---|
| 907 | ---------------------------------------------------------------------- |
|---|
| 908 | Traceback (most recent call last): |
|---|
| 909 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 910 | testMethod() |
|---|
| 911 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 530, in test_string |
|---|
| 912 | (u'á áá»', '\x02\x00\t\xe1\x9a\xa0\xe1\x9b\x87\xe1\x9a\xbb')]) |
|---|
| 913 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 914 | e.run(self) |
|---|
| 915 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 916 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 917 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 918 | type = self.readType() |
|---|
| 919 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 920 | type = self.stream.read_uchar() |
|---|
| 921 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 922 | return struct.unpack("B", self._read(1))[0] |
|---|
| 923 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 924 | bytes = self.read(length) |
|---|
| 925 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 926 | if length > 0 and self.at_eof(): |
|---|
| 927 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 928 | return self.tell() >= len(self) |
|---|
| 929 | TypeError: __len__ should return a int |
|---|
| 930 | |
|---|
| 931 | ====================================================================== |
|---|
| 932 | ERROR: test_types (test_amf0.DecoderTestCase) |
|---|
| 933 | ---------------------------------------------------------------------- |
|---|
| 934 | Traceback (most recent call last): |
|---|
| 935 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 936 | testMethod() |
|---|
| 937 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 463, in test_types |
|---|
| 938 | self.decoder.readType() |
|---|
| 939 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 940 | type = self.stream.read_uchar() |
|---|
| 941 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 942 | return struct.unpack("B", self._read(1))[0] |
|---|
| 943 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 944 | bytes = self.read(length) |
|---|
| 945 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 946 | if length > 0 and self.at_eof(): |
|---|
| 947 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 948 | return self.tell() >= len(self) |
|---|
| 949 | TypeError: __len__ should return a int |
|---|
| 950 | |
|---|
| 951 | ====================================================================== |
|---|
| 952 | ERROR: test_undefined (test_amf0.DecoderTestCase) |
|---|
| 953 | ---------------------------------------------------------------------- |
|---|
| 954 | Traceback (most recent call last): |
|---|
| 955 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 956 | testMethod() |
|---|
| 957 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 471, in test_undefined |
|---|
| 958 | self._run([(pyamf.Undefined, '\x06')]) |
|---|
| 959 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 457, in _run |
|---|
| 960 | e.run(self) |
|---|
| 961 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/util.py", line 86, in run |
|---|
| 962 | testcase.assertEqual(self.decoder.readElement(), n) |
|---|
| 963 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 964 | type = self.readType() |
|---|
| 965 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 966 | type = self.stream.read_uchar() |
|---|
| 967 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 968 | return struct.unpack("B", self._read(1))[0] |
|---|
| 969 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 970 | bytes = self.read(length) |
|---|
| 971 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 972 | if length > 0 and self.at_eof(): |
|---|
| 973 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 974 | return self.tell() >= len(self) |
|---|
| 975 | TypeError: __len__ should return a int |
|---|
| 976 | |
|---|
| 977 | ====================================================================== |
|---|
| 978 | ERROR: test_xml (test_amf0.DecoderTestCase) |
|---|
| 979 | ---------------------------------------------------------------------- |
|---|
| 980 | Traceback (most recent call last): |
|---|
| 981 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 982 | testMethod() |
|---|
| 983 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 571, in test_xml |
|---|
| 984 | util.ET.tostring(self.decoder.readElement())) |
|---|
| 985 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1012, in XML |
|---|
| 986 | return api.fromstring(text) |
|---|
| 987 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 181, in fromstring |
|---|
| 988 | parser = XMLTreeBuilder() |
|---|
| 989 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1164, in __init__ |
|---|
| 990 | raise ImportError( |
|---|
| 991 | ImportError: No module named expat; use SimpleXMLTreeBuilder instead |
|---|
| 992 | |
|---|
| 993 | ====================================================================== |
|---|
| 994 | ERROR: test_xml_references (test_amf0.DecoderTestCase) |
|---|
| 995 | ---------------------------------------------------------------------- |
|---|
| 996 | Traceback (most recent call last): |
|---|
| 997 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 998 | testMethod() |
|---|
| 999 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 581, in test_xml_references |
|---|
| 1000 | util.ET.tostring(self.decoder.readElement())) |
|---|
| 1001 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1012, in XML |
|---|
| 1002 | return api.fromstring(text) |
|---|
| 1003 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 181, in fromstring |
|---|
| 1004 | parser = XMLTreeBuilder() |
|---|
| 1005 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/site-packages/elementtree-1.2.7_20070827_preview-py2.3.egg/elementtree/ElementTree.py", line 1164, in __init__ |
|---|
| 1006 | raise ImportError( |
|---|
| 1007 | ImportError: No module named expat; use SimpleXMLTreeBuilder instead |
|---|
| 1008 | |
|---|
| 1009 | ====================================================================== |
|---|
| 1010 | ERROR: test_decode (test_amf0.RecordSetTestCase) |
|---|
| 1011 | ---------------------------------------------------------------------- |
|---|
| 1012 | Traceback (most recent call last): |
|---|
| 1013 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 1014 | testMethod() |
|---|
| 1015 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 889, in test_decode |
|---|
| 1016 | x = decoder.readElement() |
|---|
| 1017 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 1018 | type = self.readType() |
|---|
| 1019 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 1020 | type = self.stream.read_uchar() |
|---|
| 1021 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 1022 | return struct.unpack("B", self._read(1))[0] |
|---|
| 1023 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 1024 | bytes = self.read(length) |
|---|
| 1025 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 332, in read |
|---|
| 1026 | if length > 0 and self.at_eof(): |
|---|
| 1027 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 374, in at_eof |
|---|
| 1028 | return self.tell() >= len(self) |
|---|
| 1029 | TypeError: __len__ should return a int |
|---|
| 1030 | |
|---|
| 1031 | ====================================================================== |
|---|
| 1032 | ERROR: test_decode (test_amf0.HelperTestCase) |
|---|
| 1033 | ---------------------------------------------------------------------- |
|---|
| 1034 | Traceback (most recent call last): |
|---|
| 1035 | File "/Users/thijstriemstra/Sites/jython/dist/Lib/unittest.py", line 229, in __call__ |
|---|
| 1036 | testMethod() |
|---|
| 1037 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/tests/test_amf0.py", line 753, in test_decode |
|---|
| 1038 | self.assertEquals(gen.next(), 1) |
|---|
| 1039 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 788, in decode |
|---|
| 1040 | yield decoder.readElement() |
|---|
| 1041 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/__init__.py", line 477, in readElement |
|---|
| 1042 | type = self.readType() |
|---|
| 1043 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/amf0.py", line 200, in readType |
|---|
| 1044 | type = self.stream.read_uchar() |
|---|
| 1045 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 169, in read_uchar |
|---|
| 1046 | return struct.unpack("B", self._read(1))[0] |
|---|
| 1047 | File "/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/util/__init__.py", line 156, in _read |
|---|
| 1048 | bytes = self.read(length) |
|---|
| 1049 | Fi |
|---|