Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[HOT-FIX] correct content get;
  • Loading branch information
opalczynski committed Sep 27, 2016
commit e4dd76502d06a5b99c4207c72f390536cae589fd
4 changes: 2 additions & 2 deletions tests/integration_test_data_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_updating_file_field(self):
self.assertNotEqual(data_object.test_field_file, file_url)

# check file content;
file_content_s3 = requests.get(data_object.test_field_file).text
file_content_s3 = requests.get(data_object.test_field_file).content
self.assertEqual(file_content_s3, file_content)

def test_manager_update(self):
Expand Down Expand Up @@ -101,7 +101,7 @@ def test_manager_update(self):
self.assertEqual(data_object.test_field_a, new_update_string)
# should change;
self.assertNotEqual(data_object.test_field_file, file_url)
file_content_s3 = requests.get(data_object.test_field_file).text
file_content_s3 = requests.get(data_object.test_field_file).content
self.assertEqual(file_content_s3, file_content)

def test_manager_create(self):
Expand Down