diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-06-18 03:04:37 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-06-18 03:04:37 +0200 | 
| commit | 5d9f96733cb9184f2c3d20165dcd2330183f71e0 (patch) | |
| tree | 842f5c0b692274ba37949b95a074754f2b119325 /archaeological_operations/tests.py | |
| parent | ecf8b2435ca903dc9b70c514dafdc28f69640bb0 (diff) | |
| parent | e6ebb33d4175f42b55a0532940ddada73f48e18b (diff) | |
| download | Ishtar-5d9f96733cb9184f2c3d20165dcd2330183f71e0.tar.bz2 Ishtar-5d9f96733cb9184f2c3d20165dcd2330183f71e0.zip | |
Merge branch 'stable'
Diffstat (limited to 'archaeological_operations/tests.py')
| -rw-r--r-- | archaeological_operations/tests.py | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index ccb67cc03..73f462895 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -62,7 +62,8 @@ class ImportOperationTest(TestCase):             '../archaeological_operations/tests/MCC-operations-example.csv', 'rb')          file_dict = {'imported_file': SimpleUploadedFile(mcc_operation_file.name,                                                  mcc_operation_file.read())} -        post_dict = {'importer_type':MCC_OPERATION.pk, 'skip_lines':1} +        post_dict = {'importer_type':MCC_OPERATION.pk, 'skip_lines':1, +                     "encoding":'utf-8'}          form = forms_common.NewImportForm(data=post_dict, files=file_dict,                                            instance=None)          form.is_valid() @@ -133,7 +134,8 @@ class ImportOperationTest(TestCase):             '../archaeological_operations/tests/MCC-parcelles-example.csv', 'rb')          file_dict = {'imported_file': SimpleUploadedFile(mcc_file.name,                                                           mcc_file.read())} -        post_dict = {'importer_type':MCC_PARCEL.pk, 'skip_lines':1} +        post_dict = {'importer_type':MCC_PARCEL.pk, 'skip_lines':1, +                     "encoding":'utf-8'}          form = forms_common.NewImportForm(data=post_dict, files=file_dict,                                            instance=None)          form.is_valid() | 
