summaryrefslogtreecommitdiff
path: root/service/test/integration/retrieve_attachment_test.py
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-11-19 12:06:05 -0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-11-19 12:08:36 -0200
commita7e4c6238e29962653d2c53ad2887eab6e98b420 (patch)
treeca37991e2d72acc60d1d95ff05a6b9a21b663ef9 /service/test/integration/retrieve_attachment_test.py
parent68a906b6eec347481a0b7aa4c60e24ff02f5c26e (diff)
better organization for integration test support classes
Diffstat (limited to 'service/test/integration/retrieve_attachment_test.py')
-rw-r--r--service/test/integration/retrieve_attachment_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/service/test/integration/retrieve_attachment_test.py b/service/test/integration/retrieve_attachment_test.py
index 4e0e76e0..5f754a27 100644
--- a/service/test/integration/retrieve_attachment_test.py
+++ b/service/test/integration/retrieve_attachment_test.py
@@ -13,9 +13,8 @@
#
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
-import unittest
-from test.support.integration_helper import SoledadTestBase
+from test.support.integration.soledad_test_base import SoledadTestBase
class RetrieveAttachmentTest(SoledadTestBase):
@@ -35,7 +34,7 @@ class RetrieveAttachmentTest(SoledadTestBase):
'phash': ident,
'content-type': 'text/plain; charset=US-ASCII; name="attachment_pequeno.txt"'}
- self.add_document_to_soledad(attachment_dict)
+ self.client.add_document_to_soledad(attachment_dict)
attachment = self.get_attachment(ident, 'base64')