Created
March 27, 2014 14:36
-
-
Save sgithens/9808928 to your computer and use it in GitHub Desktop.
Avocado MySQL Unit Test Output
This file contains 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
: python test_suite.py | |
Creating test database for alias 'default'... | |
............................F..FF...F.........F....EEE...F..E.......F...F......EEEEEEEEE...FE..EEEEEEEEE..............................FFF......x..x................F.....F..............EE...E. | |
====================================================================== | |
ERROR: test_instance (tests.cases.events.tests.LogTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/events/tests.py", line 46, in test_instance | |
self.assertEqual(Log.objects.get(pk=1).content_object, f) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: Log matching query does not exist. | |
====================================================================== | |
ERROR: test_model (tests.cases.events.tests.LogTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/events/tests.py", line 50, in test_model | |
self.assertEqual(Log.objects.get(pk=1).content_type.model_class(), DataField) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: Log matching query does not exist. | |
====================================================================== | |
ERROR: test_request (tests.cases.events.tests.LogTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/events/tests.py", line 72, in test_request | |
message = Log.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: Log matching query does not exist. | |
====================================================================== | |
ERROR: test_cull_for_object (tests.cases.history.tests.ObjectRevisionTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/history/tests.py", line 123, in test_cull_for_object | |
Revision.objects.cull_for_object(c) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/transaction.py", line 223, in inner | |
return func(*args, **kwargs) | |
File "/home/sgithens/code/harvest/avocado/avocado/history/managers.py", line 139, in cull_for_object | |
self.filter(pk__in=revisions[max_size:]).delete() | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 551, in delete | |
collector.delete() | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/deletion.py", line 62, in decorated | |
func(self, *args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/deletion.py", line 293, in delete | |
qs._raw_delete(using=self.using) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 562, in _raw_delete | |
sql.DeleteQuery(self.model).delete_qs(self, using) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/sql/subqueries.py", line 84, in delete_qs | |
self.get_compiler(using).execute_sql(None) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 846, in execute_sql | |
cursor.execute(sql, params) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 130, in execute | |
six.reraise(utils.DatabaseError, utils.DatabaseError(*tuple(e.args)), sys.exc_info()[2]) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 120, in execute | |
return self.cursor.execute(query, args) | |
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute | |
self.errorhandler(self, exc, value) | |
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler | |
raise errorclass, errorvalue | |
DatabaseError: (1235, "This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'") | |
====================================================================== | |
ERROR: test_add_shared_user (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_apply (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_clean (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_duplicate_share (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_init (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_multiple_json_values (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_no_create_on_share (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_parse (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_validate (tests.cases.models.tests.DataQueryTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 297, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_field_for_concept (tests.cases.query.tests.parsers.DataContextParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 142, in test_field_for_concept | |
self.assertEqual(parsers.datacontext.validate(deepcopy(attrs), tree=Employee), attrs) | |
File "/home/sgithens/code/harvest/avocado/avocado/query/oldparsers/datacontext.py", line 229, in validate | |
field_key = utils.parse_field_key(field_key) | |
File "/home/sgithens/code/harvest/avocado/avocado/core/utils.py", line 93, in parse_field_key | |
offset = len(keys) - len(toks) | |
UnboundLocalError: local variable 'toks' referenced before assignment | |
====================================================================== | |
ERROR: test_valid (tests.cases.query.tests.parsers.DataContextParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 26, in test_valid | |
self.assertEqual(parsers.datacontext.validate(deepcopy(attrs), tree=Employee), attrs) | |
File "/home/sgithens/code/harvest/avocado/avocado/query/oldparsers/datacontext.py", line 229, in validate | |
field_key = utils.parse_field_key(field_key) | |
File "/home/sgithens/code/harvest/avocado/avocado/core/utils.py", line 93, in parse_field_key | |
offset = len(keys) - len(toks) | |
UnboundLocalError: local variable 'toks' referenced before assignment | |
====================================================================== | |
ERROR: test_apply (tests.cases.query.tests.parsers.DataQueryParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 299, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_parsed_node (tests.cases.query.tests.parsers.DataQueryParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 299, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_valid (tests.cases.query.tests.parsers.DataQueryParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 299, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_apply (tests.cases.query.tests.parsers.DataViewParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 222, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_apply_distinct (tests.cases.query.tests.parsers.DataViewParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 222, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_invalid (tests.cases.query.tests.parsers.DataViewParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 222, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_valid (tests.cases.query.tests.parsers.DataViewParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 222, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_valid_legacy (tests.cases.query.tests.parsers.DataViewParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 222, in setUp | |
f1 = DataField.objects.get(pk=1) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/manager.py", line 143, in get | |
return self.get_query_set().get(*args, **kwargs) | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/db/models/query.py", line 404, in get | |
self.model._meta.object_name) | |
DoesNotExist: DataField matching query does not exist. | |
====================================================================== | |
ERROR: test_valid_concept (tests.cases.validation.tests.FieldValidatorTestCase) | |
Field with concept primary key | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/validation/tests.py", line 73, in test_valid_concept | |
self.assertTrue(v.is_valid()) | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 119, in is_valid | |
self._validate() | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 43, in _validate | |
result = getattr(self, method_name)() | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 183, in validate_field | |
kwargs = utils.parse_field_key(field) | |
File "/home/sgithens/code/harvest/avocado/avocado/core/utils.py", line 93, in parse_field_key | |
offset = len(keys) - len(toks) | |
UnboundLocalError: local variable 'toks' referenced before assignment | |
====================================================================== | |
ERROR: test_valid_concept_ident (tests.cases.validation.tests.FieldValidatorTestCase) | |
Field with concept ident | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/validation/tests.py", line 87, in test_valid_concept_ident | |
self.assertTrue(v.is_valid()) | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 119, in is_valid | |
self._validate() | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 43, in _validate | |
result = getattr(self, method_name)() | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 183, in validate_field | |
kwargs = utils.parse_field_key(field) | |
File "/home/sgithens/code/harvest/avocado/avocado/core/utils.py", line 93, in parse_field_key | |
offset = len(keys) - len(toks) | |
UnboundLocalError: local variable 'toks' referenced before assignment | |
====================================================================== | |
ERROR: test_valid_field_pk (tests.cases.validation.tests.FieldValidatorTestCase) | |
Field with primary key | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/validation/tests.py", line 60, in test_valid_field_pk | |
self.assertTrue(v.is_valid()) | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 119, in is_valid | |
self._validate() | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 43, in _validate | |
result = getattr(self, method_name)() | |
File "/home/sgithens/code/harvest/avocado/avocado/query/validators.py", line 183, in validate_field | |
kwargs = utils.parse_field_key(field) | |
File "/home/sgithens/code/harvest/avocado/avocado/core/utils.py", line 93, in parse_field_key | |
offset = len(keys) - len(toks) | |
UnboundLocalError: local variable 'toks' referenced before assignment | |
====================================================================== | |
FAIL: test_json (tests.cases.exporting.tests.FileExportTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/exporting/tests.py", line 117, in test_json | |
self.assertEqual(len(buff.read()), 639) | |
AssertionError: 651 != 639 | |
====================================================================== | |
FAIL: test_sort_flat (tests.cases.exporting.tests.ForceDistinctRegressionTestCase) | |
Sorts on a non-reverse foreign key property. | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/exporting/tests.py", line 233, in test_sort_flat | |
(6, u'Mel', u'Brooks'), | |
AssertionError: Lists differ: [(5L, u'Zac', u'Cook'), (1L, u... != [(1, u'Eric', u'Smith'), (3, u... | |
First differing element 0: | |
(5L, u'Zac', u'Cook') | |
(1, u'Eric', u'Smith') | |
- [(5L, u'Zac', u'Cook'), | |
- (1L, u'Eric', u'Smith'), | |
? ^ - | |
+ [(1, u'Eric', u'Smith'), | |
? ^ | |
- (3L, u'Erick', u'Smith'), | |
? - | |
+ (3, u'Erick', u'Smith'), | |
+ (5, u'Zac', u'Cook'), | |
- (2L, u'Erin', u'Jones'), | |
? - | |
+ (2, u'Erin', u'Jones'), | |
- (4L, u'Aaron', u'Harris'), | |
? - | |
+ (4, u'Aaron', u'Harris'), | |
- (6L, u'Mel', u'Brooks')] | |
? - | |
+ (6, u'Mel', u'Brooks')] | |
====================================================================== | |
FAIL: test_sort_related (tests.cases.exporting.tests.ForceDistinctRegressionTestCase) | |
Sorts on a reverse foreign key property. | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/exporting/tests.py", line 256, in test_sort_related | |
(2, u'Erin', u'Jones') | |
AssertionError: Lists differ: [(3L, u'Erick', u'Smith'), (5L... != [(3, u'Erick', u'Smith'), (4, ... | |
First differing element 1: | |
(5L, u'Zac', u'Cook') | |
(4, u'Aaron', u'Harris') | |
- [(3L, u'Erick', u'Smith'), | |
? - | |
+ [(3, u'Erick', u'Smith'), | |
- (5L, u'Zac', u'Cook'), | |
- (4L, u'Aaron', u'Harris'), | |
? - | |
+ (4, u'Aaron', u'Harris'), | |
+ (5, u'Zac', u'Cook'), | |
- (6L, u'Mel', u'Brooks'), | |
? - | |
+ (6, u'Mel', u'Brooks'), | |
- (1L, u'Eric', u'Smith'), | |
? - | |
+ (1, u'Eric', u'Smith'), | |
- (2L, u'Erin', u'Jones')] | |
? - | |
+ (2, u'Erin', u'Jones')] | |
====================================================================== | |
FAIL: test_json (tests.cases.exporting.tests.ResponseExportTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/exporting/tests.py", line 166, in test_json | |
self.assertEqual(len(response.content), 639) | |
AssertionError: 651 != 639 | |
====================================================================== | |
FAIL: test_dataview_order_by (tests.cases.lexicon.tests.LexiconTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/lexicon/tests.py", line 40, in test_dataview_order_by | |
self.assertEqual(unicode(v.apply(qs).query), 'SELECT "tests_month"."id" FROM "tests_month" WHERE "tests_month"."label" LIKE J% ESCAPE \'\\\' ORDER BY "tests_month"."order" ASC') | |
AssertionError: u'SELECT `tests_month`.`id` FROM `tests_month` WHERE `tests_month`.`label` LIKE BINARY J% ORDER BY `tests_month`.`order` ASC' != 'SELECT "tests_month"."id" FROM "tests_month" WHERE "tests_month"."label" LIKE J% ESCAPE \'\\\' ORDER BY "tests_month"."order" ASC' | |
====================================================================== | |
FAIL: test_latest_for_model (tests.cases.history.tests.ModelRevisionTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/history/tests.py", line 173, in test_latest_for_model | |
self.assertEqual(Revision.objects.latest_for_model(DataContext).object_id, self.c2.pk) | |
AssertionError: 5L != 6L | |
====================================================================== | |
FAIL: test_published (tests.cases.models.tests.DataConceptManagerTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 208, in test_published | |
self.assertEqual([x.pk for x in DataConcept.objects.published()], [1]) | |
AssertionError: Lists differ: [453L] != [1] | |
First differing element 0: | |
453 | |
1 | |
- [453L] | |
+ [1] | |
====================================================================== | |
FAIL: test_published (tests.cases.models.tests.DataFieldManagerTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/models/tests.py", line 126, in test_published | |
self.assertEqual([x.pk for x in DataField.objects.published()], [7]) | |
AssertionError: Lists differ: [477L] != [7] | |
First differing element 0: | |
477 | |
7 | |
- [477L] | |
+ [7] | |
====================================================================== | |
FAIL: test_apply (tests.cases.query.tests.parsers.DataContextParserTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/query/tests/parsers.py", line 182, in test_apply | |
self.assertEqual(unicode(node.apply().values('id').query), 'SELECT DISTINCT "tests_employee"."id" FROM "tests_employee" INNER JOIN "tests_title" ON ("tests_employee"."title_id" = "tests_title"."id") WHERE "tests_title"."boss" = True ') | |
AssertionError: u'SELECT DISTINCT `tests_employee`.`id` FROM `tests_employee` INNER JOIN `tests_title` ON (`tests_employee`.`title_id` = `tests_title`.`id`) WHERE `tests_title`.`boss` = True ' != 'SELECT DISTINCT "tests_employee"."id" FROM "tests_employee" INNER JOIN "tests_title" ON ("tests_employee"."title_id" = "tests_title"."id") WHERE "tests_title"."boss" = True ' | |
====================================================================== | |
FAIL: test_translator (tests.cases.sets.tests.SetsTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/sets/tests.py", line 28, in test_translator | |
"(AND: ('recordset__id__exact', 1))") | |
AssertionError: u"(AND: ('recordset__id__exact', 11L))" != "(AND: ('recordset__id__exact', 1))" | |
====================================================================== | |
FAIL: test_avg (tests.cases.stats.tests.agg.AggregatorTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/stats/tests/agg.py", line 72, in test_avg | |
self.assertEqual(self.salary.avg(), [{'avg': 53571.42857142857}]) | |
AssertionError: [{'avg': 53571.4286}] != [{'avg': 53571.42857142857}] | |
====================================================================== | |
FAIL: test_avg_cached (tests.cases.stats.tests.agg.AggregatorTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/Envs/avocado-dev/local/lib/python2.7/site-packages/django/test/utils.py", line 224, in inner | |
return test_func(*args, **kwargs) | |
File "/home/sgithens/code/harvest/avocado/tests/cases/stats/tests/agg.py", line 79, in test_avg_cached | |
self.assertEqual(self.salary.avg(), [{'avg': 53571.42857142857}]) | |
AssertionError: [{'avg': 53571.4286}] != [{'avg': 53571.42857142857}] | |
====================================================================== | |
FAIL: test_data (tests.cases.search.tests.ConceptSearchTest) | |
Test search via the data itself. | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/search/tests.py", line 157, in test_data | |
self.assertEqual(ids, sorted([r.object.pk for r in results])) | |
AssertionError: Lists differ: [6] != [1050L] | |
First differing element 0: | |
6 | |
1050 | |
- [6] | |
+ [1050L] | |
====================================================================== | |
FAIL: test_data (tests.cases.search.tests.FieldSearchTest) | |
Test search via the data itself. | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/sgithens/code/harvest/avocado/tests/cases/search/tests.py", line 88, in test_data | |
self.assertEqual(ids, sorted([r.object.pk for r in results])) | |
AssertionError: Lists differ: [6] != [1532L] | |
First differing element 0: | |
6 | |
1532 | |
- [6] | |
+ [1532L] | |
---------------------------------------------------------------------- | |
Ran 191 tests in 101.405s | |
FAILED (failures=14, errors=26, expected failures=2) | |
Destroying test database for alias 'default'... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment