aboutsummaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-07-03 10:47:47 +0200
committerGravatar kwzrd <[email protected]>2020-07-03 10:49:02 +0200
commit83544ca0f91dd7bc8510e4fc7a64bc73712ddaf8 (patch)
tree8e086f939b4718b8b67328e8ef1db7b951e345a1 /tests/__init__.py
parentIncidents: trace-level log incident embed creation (diff)
Incidents: archive incident attachments
There is no handling of file types as explained in the `archive` docstring. Testing indicates that relaying incidents with e.g. a text file attachment is simply a noop in the Discord GUI. If there is at least one attachment, we always only relay the one at index 0, as it is believed the user-sent messages can only contain one attachment at maximum. This also adds an extra test asserting the behaviour when an incident with an attachment is archived. The existing test for `archive` is adjusted to assume no attachments. Joe helped me conceive & test this. Co-authored-by: Joseph Banks <[email protected]>
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions