~camptocamp/openerp-connector-magento/7-htaccess-auth-support-dbl-next-release-gbr

« back to all changes in this revision

Viewing changes to magentoerpconnect/tests/test_data_address_book.py

  • Committer: Guewen Baconnier
  • Date: 2014-05-06 09:33:40 UTC
  • mfrom: (963.2.20 7.0-next-release)
  • Revision ID: guewen.baconnier@camptocamp.com-20140506093340-9r0b4oayi0a84qjd
merge from next-release branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
# customer without address
36
36
no_address = {
37
 
    ('customer.info', (9999253, None)): {'confirmation': None,
 
37
    ('customer.info', (9999253,)): {'confirmation': None,
38
38
                                     'created_at': '2013-06-28 12:35:33',
39
39
                                     'created_in': 'English',
40
40
                                     'customer_id': '9999253',
64
64
 
65
65
# individual customer with 1 address
66
66
individual_1_address = \
67
 
{ ('customer.info', (9999254, None)): {'confirmation': None,
 
67
{ ('customer.info', (9999254,)): {'confirmation': None,
68
68
                                  'created_at': '2013-06-28 12:43:49',
69
69
                                  'created_in': 'English',
70
70
                                  'customer_id': '9999254',
88
88
                                  'taxvat': None,
89
89
                                  'updated_at': '2013-06-28 12:43:49',
90
90
                                  'website_id': '1'},
91
 
 ('customer_address.info', (9999253, None)): {'city': u'Boutin-la-Forêt',
 
91
 ('customer_address.info', (9999253,)): {'city': u'Boutin-la-Forêt',
92
92
                                          'company': None,
93
93
                                          'country_id': 'FR',
94
94
                                          'created_at': '2013-06-28 12:43:49',
134
134
 
135
135
# individual customer with 2 addresses
136
136
individual_2_addresses = \
137
 
{('customer.info', (9999255, None)): {'confirmation': None,
 
137
{('customer.info', (9999255,)): {'confirmation': None,
138
138
                                  'created_at': '2013-06-28 12:56:40',
139
139
                                  'created_in': 'English',
140
140
                                  'customer_id': '9999255',
158
158
                                  'taxvat': None,
159
159
                                  'updated_at': '2013-06-28 13:00:23',
160
160
                                  'website_id': '1'},
161
 
 ('customer_address.info', (9999254, None)): {'city': 'Perez',
 
161
 ('customer_address.info', (9999254,)): {'city': 'Perez',
162
162
                                          'company': None,
163
163
                                          'country_id': 'FR',
164
164
                                          'created_at': '2013-06-28 12:56:43',
183
183
                                          'vat_request_date': None,
184
184
                                          'vat_request_id': None,
185
185
                                          'vat_request_success': None},
186
 
 ('customer_address.info', (9999255, None)): {'city': 'Bugarach',
 
186
 ('customer_address.info', (9999255,)): {'city': 'Bugarach',
187
187
                                          'company': None,
188
188
                                          'country_id': 'FR',
189
189
                                          'created_at': '2013-06-28 13:00:23',
243
243
 
244
244
# company with 1 address
245
245
company_1_address = \
246
 
{('customer.info', (9999256, None)): {'confirmation': None,
 
246
{('customer.info', (9999256,)): {'confirmation': None,
247
247
                                  'created_at': '2013-06-28 13:10:21',
248
248
                                  'created_in': 'English',
249
249
                                  'customer_id': '9999256',
267
267
                                  'taxvat': None,
268
268
                                  'updated_at': '2013-06-28 13:10:22',
269
269
                                  'website_id': '1'},
270
 
 ('customer_address.info', (9999256, None)): {'city': 'Launaynec',
 
270
 ('customer_address.info', (9999256,)): {'city': 'Launaynec',
271
271
                                          'company': 'Marechal',
272
272
                                          'country_id': 'FR',
273
273
                                          'created_at': '2013-06-28 13:10:22',
313
313
 
314
314
# company with 2 addresses
315
315
company_2_addresses = \
316
 
{('customer.info', (9999257, None)): {'confirmation': None,
 
316
{('customer.info', (9999257,)): {'confirmation': None,
317
317
                                  'created_at': '2013-06-28 13:23:01',
318
318
                                  'created_in': 'English',
319
319
                                  'customer_id': '9999257',
337
337
                                  'taxvat': None,
338
338
                                  'updated_at': '2013-06-28 13:25:28',
339
339
                                  'website_id': '1'},
340
 
 ('customer_address.info', (9999257, None)): {'city': 'Raynauddan',
 
340
 ('customer_address.info', (9999257,)): {'city': 'Raynauddan',
341
341
                                          'company': 'Bertin',
342
342
                                          'country_id': 'FR',
343
343
                                          'created_at': '2013-06-28 13:23:01',
362
362
                                          'vat_request_date': None,
363
363
                                          'vat_request_id': None,
364
364
                                          'vat_request_success': None},
365
 
 ('customer_address.info', (9999258, None)): {'city': 'Cailla',
 
365
 ('customer_address.info', (9999258,)): {'city': 'Cailla',
366
366
                                          'company': None,
367
367
                                          'country_id': 'FR',
368
368
                                          'created_at': '2013-06-28 13:25:28',