Created
November 9, 2017 16:46
-
-
Save davidwtbuxton/d27c6d8f58e400ddac5e81974c39b0b5 to your computer and use it in GitHub Desktop.
Test output for djangae branch 958-computed-field-pagination
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(djangae) $ git show | |
commit 0523c70eba0f7bc7b36933fbbf002e4611086720 (HEAD -> 958-computed-field-pagination, upstream/958-computed-field-pagination) | |
Merge: 010a6cd1 b96d2284 | |
Author: Phil Tysoe <[email protected]> | |
Date: Thu Nov 9 16:05:51 2017 +0000 | |
Merge branch 'master' into 958-computed-field-pagination | |
diff --cc CHANGELOG.md | |
index 4d961159,cb652b0c..0d7ae63e | |
--- a/CHANGELOG.md | |
+++ b/CHANGELOG.md | |
@@@ -22,7 -21,7 +22,8 @@@ | |
- Logging output silenced during `manage.py test` execution | |
- Fix management command `--help` output | |
- Create .editorconfig to ensure basic editor settings are consistent between users | |
+ - Fix integer field pagination | |
+ - Add .flake8 file to move towards enforcement code standard | |
## v0.9.10 | |
(djangae) $ rm -rf testapp/libs/ | |
(djangae) $ ./runtests.sh | |
Running install_deps... | |
Downloading the AppEngine SDK... | |
Running pip... | |
Collecting Graphy==1.0.0 (from -r /djangae/testapp/requirements.txt (line 1)) | |
Collecting GoogleAppEngineMapReduce==1.9.22.0 (from -r /djangae/testapp/requirements.txt (line 2)) | |
Collecting GoogleAppEnginePipeline==1.9.21.1 (from -r /djangae/testapp/requirements.txt (line 3)) | |
Downloading GoogleAppEnginePipeline-1.9.21.1.tar.gz (88kB) | |
100% |████████████████████████████████| 92kB 2.3MB/s | |
Collecting GoogleAppEngineCloudStorageClient==1.9.22.1 (from -r /djangae/testapp/requirements.txt (line 4)) | |
Collecting Pillow (from -r /djangae/testapp/requirements.txt (line 5)) | |
Downloading Pillow-4.3.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.5MB) | |
100% |████████████████████████████████| 3.6MB 264kB/s | |
Collecting webtest (from -r /djangae/testapp/requirements.txt (line 6)) | |
Downloading WebTest-2.0.29-py2.py3-none-any.whl | |
Collecting beautifulsoup4 (from -r /djangae/testapp/requirements.txt (line 7)) | |
Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB) | |
100% |████████████████████████████████| 92kB 7.8MB/s | |
Collecting pytz (from -r /djangae/testapp/requirements.txt (line 8)) | |
Using cached pytz-2017.3-py2.py3-none-any.whl | |
Collecting django-session-csrf (from -r /djangae/testapp/requirements.txt (line 9)) | |
Using cached django_session_csrf-0.7.1-py2.py3-none-any.whl | |
Collecting pyuca (from -r /djangae/testapp/requirements.txt (line 10)) | |
Downloading pyuca-1.2-py2.py3-none-any.whl (1.5MB) | |
100% |████████████████████████████████| 1.5MB 770kB/s | |
Building wheels for collected packages: GoogleAppEnginePipeline | |
Running setup.py bdist_wheel for GoogleAppEnginePipeline ... done | |
Stored in directory: /Library/Caches/pip/wheels/36/c4/e4/c65af6842de73741dde8b18d0bb96bba8a7631b05c38173074 | |
Successfully built GoogleAppEnginePipeline | |
Installing collected packages: Graphy, GoogleAppEngineMapReduce, GoogleAppEnginePipeline, GoogleAppEngineCloudStorageClient, Pillow, webtest, beautifulsoup4, pytz, django-session-csrf, pyuca | |
Successfully installed GoogleAppEngineCloudStorageClient-1.9.22.1 GoogleAppEngineMapReduce-1.9.22.0 GoogleAppEnginePipeline-1.9.21.1 Graphy-1.0.0 Pillow-4.3.0 beautifulsoup4-4.6.0 django-session-csrf-0.7.1 pytz-2017.3 pyuca-1.2 webtest-2.0.29 | |
Installing Django 1.8 | |
DEPRECATION: --no-use-wheel is deprecated and will be removed in the future. Please use --no-binary :all: instead. | |
Collecting https://github.com/django/django/archive/stable/1.8.x.tar.gz | |
Downloading https://github.com/django/django/archive/stable/1.8.x.tar.gz | |
\ 7.3MB 10.6MB/s | |
Installing collected packages: Django | |
Running setup.py install for Django ... done | |
Successfully installed Django-1.8.19 | |
Installing Django tests from 1.8 | |
Creating test database for alias 'default'... | |
..x...s.........xs.................s...............................x.E.x....s....E...........x.......s...........................x.x.........sx................x..E..........x...................x.........x...x.x..........x.................s..x.......x...................x.......E...........x..................x...............x.E......x.....................x............x.......x...E......EE..............................x......x.s....................x........x....................x................E....x.....x...........................x...................s.E.............x.......E.......x........x....s.E...x..........x................................E..x....................E..x...............x...E.....x.....x.................E.......xx......E.............................x......................x.s...x.........s......x............................s.......................................................x..x.................x............E...........x. | |
====================================================================== | |
ERROR: test_descending (djangae.contrib.pagination.tests.ComputedIntegerFieldPaginationTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 261, in test_descending | |
obj = ComputedIntegerFieldModel.objects.create(count=i) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_count_reads_ahead (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_that_readahead_stores_markers (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_ascending (djangae.contrib.pagination.tests.ComputedCharFieldPaginationTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 298, in test_ascending | |
obj = ComputedCharFieldModel.objects.create(title=i) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_negatives (djangae.contrib.pagination.tests.ComputedIntegerFieldPaginationTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 275, in test_negatives | |
obj = ComputedIntegerFieldModel.objects.create(count=i) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_page_jump_updates_count_correctly (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_ordering (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_descending (djangae.contrib.pagination.tests.ComputedCharFieldPaginationTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 312, in test_descending | |
obj = ComputedCharFieldModel.objects.create(title=i) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: djangae.tests.test_sql_formatting (unittest.loader.ModuleImportFailure) | |
---------------------------------------------------------------------- | |
ImportError: Failed to import test module: djangae.tests.test_sql_formatting | |
Traceback (most recent call last): | |
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 254, in _find_tests | |
module = self._get_module_from_name(name) | |
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name | |
__import__(name) | |
File "/djangae/testapp/djangae/tests/test_sql_formatting.py", line 1, in <module> | |
import mock | |
ImportError: No module named mock | |
====================================================================== | |
ERROR: test_precalculate_field_values (djangae.contrib.pagination.tests.PaginatedModelTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 67, in test_precalculate_field_values | |
user = TestUser.objects.create(pk=1, first_name="Luke", last_name="Benstead") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_default_ordering (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
Tests that pagination works using just the model's default ordering. | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_ascending (djangae.contrib.pagination.tests.ComputedIntegerFieldPaginationTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 247, in test_ascending | |
obj = ComputedIntegerFieldModel.objects.create(count=i) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_pages_correct (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_empty_page (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_that_marker_is_read (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_ordering_required_exception_is_thrown_when_no_order_specified (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_count_up_to (djangae.contrib.pagination.tests.DatastorePaginatorTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 83, in setUp | |
self.u1 = TestUser.objects.create(id=1, first_name="A", last_name="A") | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 348, in create | |
obj.save(force_insert=True, using=self.db) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 846, in _save_table | |
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) | |
File "/djangae/testapp/libs/django/db/models/base.py", line 885, in _do_insert | |
using=using, raw=raw) | |
File "/djangae/testapp/libs/django/db/models/manager.py", line 127, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) | |
File "/djangae/testapp/libs/django/db/models/query.py", line 920, in _insert | |
return query.get_compiler(using=using).execute_sql(return_id) | |
File "/djangae/testapp/libs/django/db/models/sql/compiler.py", line 973, in execute_sql | |
for sql, params in self.as_sql(): | |
File "/djangae/testapp/djangae/db/backends/appengine/compiler.py", line 68, in as_sql | |
self.query.raw), tuple()) | |
File "/djangae/testapp/djangae/db/backends/appengine/commands.py", line 643, in __init__ | |
getattr(obj, field.attname) if raw else field.pre_save(obj, True), | |
File "/djangae/testapp/djangae/fields/computed.py", line 13, in pre_save | |
value = self.get_computed_value(model_instance) | |
File "/djangae/testapp/djangae/fields/computed.py", line 31, in get_computed_value | |
return self.computer(model_instance) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 24, in generator | |
value = convert_to_paginatable_value(value, neg) | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
====================================================================== | |
ERROR: test_long_and_int_are_treated_the_same (djangae.contrib.pagination.tests.ConvertToPaginatableValueTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/djangae/testapp/djangae/contrib/pagination/tests.py", line 327, in test_long_and_int_are_treated_the_same | |
convert_to_paginatable_value(long(13)), | |
File "/djangae/testapp/djangae/contrib/pagination/decorators.py", line 53, in convert_to_paginatable_value | |
value = u''.join([unichr(int(i)) for i in _chunks(str(value), n=5)]) | |
ValueError: unichr() arg not in range(0x10000) (narrow Python build) | |
---------------------------------------------------------------------- | |
Ran 953 tests in 417.940s | |
FAILED (errors=18, skipped=13, expected failures=53) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment