@@ -238,7 +238,7 @@ def test_post_document(self):
238
238
# Construct a dict representation of a Attachment model
239
239
attachment_model = {
240
240
'content_type' : 'testString' ,
241
- 'data' : b'This is a mock byte array value.' . decode ( 'utf-8' ) ,
241
+ 'data' : 'VGhpcyBpcyBhIG1vY2sgYnl0ZSBhcnJheSB2YWx1ZS4=' ,
242
242
'digest' : 'testString' ,
243
243
'encoded_length' : 0 ,
244
244
'encoding' : 'testString' ,
@@ -389,7 +389,7 @@ def test_post_bulk_docs(self):
389
389
# Construct a dict representation of a Attachment model
390
390
attachment_model = {
391
391
'content_type' : 'testString' ,
392
- 'data' : b'This is a mock byte array value.' . decode ( 'utf-8' ) ,
392
+ 'data' : 'VGhpcyBpcyBhIG1vY2sgYnl0ZSBhcnJheSB2YWx1ZS4=' ,
393
393
'digest' : 'testString' ,
394
394
'encoded_length' : 0 ,
395
395
'encoding' : 'testString' ,
@@ -617,7 +617,7 @@ def test_put_document(self):
617
617
# Construct a dict representation of a Attachment model
618
618
attachment_model = {
619
619
'content_type' : 'testString' ,
620
- 'data' : b'This is a mock byte array value.' . decode ( 'utf-8' ) ,
620
+ 'data' : 'VGhpcyBpcyBhIG1vY2sgYnl0ZSBhcnJheSB2YWx1ZS4=' ,
621
621
'digest' : 'testString' ,
622
622
'encoded_length' : 0 ,
623
623
'encoding' : 'testString' ,
@@ -702,7 +702,7 @@ def test_put_design_document(self):
702
702
# Construct a dict representation of a Attachment model
703
703
attachment_model = {
704
704
'content_type' : 'testString' ,
705
- 'data' : b'This is a mock byte array value.' . decode ( 'utf-8' ) ,
705
+ 'data' : 'VGhpcyBpcyBhIG1vY2sgYnl0ZSBhcnJheSB2YWx1ZS4=' ,
706
706
'digest' : 'testString' ,
707
707
'encoded_length' : 0 ,
708
708
'encoding' : 'testString' ,
@@ -1472,7 +1472,7 @@ def test_put_replication_document(self):
1472
1472
# Construct a dict representation of a Attachment model
1473
1473
attachment_model = {
1474
1474
'content_type' : 'testString' ,
1475
- 'data' : b'This is a mock byte array value.' . decode ( 'utf-8' ) ,
1475
+ 'data' : 'VGhpcyBpcyBhIG1vY2sgYnl0ZSBhcnJheSB2YWx1ZS4=' ,
1476
1476
'digest' : 'testString' ,
1477
1477
'encoded_length' : 0 ,
1478
1478
'encoding' : 'testString' ,
@@ -1779,7 +1779,7 @@ def test_put_local_document(self):
1779
1779
# Construct a dict representation of a Attachment model
1780
1780
attachment_model = {
1781
1781
'content_type' : 'testString' ,
1782
- 'data' : b'This is a mock byte array value.' . decode ( 'utf-8' ) ,
1782
+ 'data' : 'VGhpcyBpcyBhIG1vY2sgYnl0ZSBhcnJheSB2YWx1ZS4=' ,
1783
1783
'digest' : 'testString' ,
1784
1784
'encoded_length' : 0 ,
1785
1785
'encoding' : 'testString' ,
0 commit comments