def METHOD_NAME(self):
    """
    Tests that simple file upload uploads correctly
    Uploading a file should preserve the original filename.
    Uploading should not modify file in any way.
    """
    self._create_test_attachment("")
    # Check the object was created.
    attachment = self.article.shared_plugins_set.all()[0].attachment
    self.assertEqual(attachment.original_filename, "test.txt")
    self.assertEqual(
        attachment.current_revision.file.file.read(), self.test_data.encode("utf-8")
    )