Skip to content

Instantly share code, notes, and snippets.

@OliverUv
Created June 18, 2012 13:21
Show Gist options
  • Save OliverUv/2948346 to your computer and use it in GitHub Desktop.
Save OliverUv/2948346 to your computer and use it in GitHub Desktop.
..............................................................................................................................................................EFEE.EFFFE.FFFFFFFFFEF.........................................................
======================================================================
ERROR: test_stack_insertion (vncbrowser.tests.InsertionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 87, in test_stack_insertion
s = self.insert_stack()
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 66, in insert_stack
s.save()
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
IntegrityError: null value in column "num_zoom_levels" violates not-null constraint
======================================================================
ERROR: test_find_downstream_neurons (vncbrowser.tests.RelationQueryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 111, in test_find_downstream_neurons
upstream = ClassInstance.objects.get(name='branched neuron')
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: ClassInstance matching query does not exist.
======================================================================
ERROR: test_find_upstream_neurons (vncbrowser.tests.RelationQueryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 123, in test_find_upstream_neurons
downstream = ClassInstance.objects.get(name='downstream-A')
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: ClassInstance matching query does not exist.
======================================================================
ERROR: test_find_all_treenodes (vncbrowser.tests.TreenodeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 554, in test_find_all_treenodes
class_column__class_name='neuron')
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: ClassInstance matching query does not exist.
======================================================================
ERROR: test_line (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 330, in test_line
class_column__class_name='driver_line')
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: ClassInstance matching query does not exist.
======================================================================
ERROR: test_view_neuron (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 314, in test_view_neuron
neuron = ClassInstance.objects.get(name=neuron_name)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 349, in get
% self.model._meta.object_name)
DoesNotExist: ClassInstance matching query does not exist.
======================================================================
FAIL: test_find_all_neurons (vncbrowser.tests.RelationQueryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 108, in test_find_all_neurons
self.assertEqual(all_neurons.count(), 8)
AssertionError: 0 != 8
======================================================================
FAIL: test_authentication (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 204, in test_authentication
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_index (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 399, in test_index
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_labels (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 221, in test_labels
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_multiple_treenodes (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 541, in test_multiple_treenodes
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_node_list (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 493, in test_node_list
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_project_list (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 343, in test_project_list
self.assertEqual(len(result.keys()), 2)
AssertionError: 0 != 2
======================================================================
FAIL: test_skeleton_root (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 431, in test_skeleton_root
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_skeletons_from_neuron (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 389, in test_skeletons_from_neuron
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_stats_summary (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 457, in test_stats_summary
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_swc_file (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 211, in test_swc_file
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_treenode_stats (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 441, in test_treenode_stats
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_user_list (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 424, in test_user_list
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
======================================================================
FAIL: test_visual_index (vncbrowser.tests.ViewPageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/oliver/CATMAID/django/applications/vncbrowser/tests.py", line 409, in test_visual_index
self.assertEqual(response.status_code, 200)
AssertionError: 302 != 200
----------------------------------------------------------------------
Ran 237 tests in 245.154s
FAILED (failures=14, errors=6)
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment