nested summaries for sources

stix2.1
Greg Back 2017-10-05 18:45:31 +00:00
parent ec34aa952f
commit f3431c97da
2 changed files with 7 additions and 7 deletions

View File

@ -1,10 +1,12 @@
"""Python STIX 2.0 Sources
Classes:
DataStore
DataSink
DataSource
CompositeDataSource
.. autosummary::
:toctree: sources
filesystem
filters
memory
taxii
"""

View File

@ -48,8 +48,6 @@ def test_indicator_with_all_required_properties():
assert str(ind) == EXPECTED_INDICATOR
rep = re.sub(r"(\[|=| )u('|\"|\\\'|\\\")", r"\g<1>\g<2>", repr(ind))
print(rep)
print(EXPECTED_INDICATOR_REPR)
assert rep == EXPECTED_INDICATOR_REPR