Skip to content

Commit

Permalink
Fix pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisRayM committed May 5, 2020
1 parent 69803eb commit 87eb85a
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Module containing the tests for the recover_deleted_attachments
management command
"""
from io import BytesIO
from datetime import datetime

Expand All @@ -11,6 +15,8 @@


class TestRecoverDeletedAttachments(TestBase):
"""TestRecoverDeletedAttachments Class"""
# pylint: disable=invalid-name
def test_recovers_wrongly_deleted_attachments(self):
"""
Test that the command recovers the correct
Expand All @@ -21,12 +27,12 @@ def test_recovers_wrongly_deleted_attachments(self):
| | type | name | label |
| | file | file | File |
| | image | image | Image |
"""
""" # pylint: disable=invalid-name
self._create_user_and_login()
self.xform = self._publish_markdown(md, self.user)
xform = self._publish_markdown(md, self.user)

xml_string = f"""
<data id="{self.xform.id_string}">
<data id="{xform.id_string}">
<meta>
<instanceID>uuid:UJ5jz4EszdgH8uhy8nss1AsKaqBPO5VN7</instanceID>
</meta>
Expand Down

0 comments on commit 87eb85a

Please sign in to comment.