Skip to content

unit tests "test_inbound_xml" fails #9

@YAmikep

Description

@YAmikep

The unit tests for test_inbound_xml.py fails.
Thanks

@:~/telapi-python/tests$ python test_inbound_xml.py
..............E......
======================================================================
ERROR: test_record_attributes (__main__.TestAllTelml)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_inbound_xml.py", line 87, in test_record_attributes
    self.response.append(inboundxml.Record(**record_attrs))
  File "/var/local/sites/buzzow/venv/local/lib/python2.7/site-packages/telapi/inboundxml/__init__.py", line 28, in __init__
    setattr(self, k, v)
  File "/var/local/sites/buzzow/venv/local/lib/python2.7/site-packages/telapi/inboundxml/__init__.py", line 73, in __setattr__
    self._ensure_attribute(name)
  File "/var/local/sites/buzzow/venv/local/lib/python2.7/site-packages/telapi/inboundxml/__init__.py", line 50, in _ensure_attribute
    (name, self._element_name))
AttributeError: "bothLegs" is not a valid attribute of the "Record" element!

----------------------------------------------------------------------
Ran 21 tests in 0.018s

FAILED (errors=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions