Skip to content

Instantly share code, notes, and snippets.

@grahamu
Created December 4, 2018 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamu/8a3247514225eb6db87d3b284c604658 to your computer and use it in GitHub Desktop.
Save grahamu/8a3247514225eb6db87d3b284c604658 to your computer and use it in GitHub Desktop.
Testing started at 14:30 ...
ssh://vagrant@127.0.0.1:2222/home/vagrant/.pyenv/versions/tenantbase/bin/python -u /home/vagrant/.pycharm_helpers/pycharm/django_test_manage.py test --exclude-tag=leasing --exclude-tag=integration /vagrant
/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/weasyprint/text.py:28: UserWarning: There are known rendering problems with Cairo <= 1.14.0
warnings.warn('There are known rendering problems with Cairo <= 1.14.0')
/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/weasyprint/fonts.py:43: UserWarning: @font-face support needs Pango >= 1.38
warnings.warn('@font-face support needs Pango >= 1.38')
Creating test database for alias 'default'...
Creating test database for alias 'hubspot_v2'...
System check identified no issues (0 silenced).
Error
Traceback (most recent call last):
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/test/testcases.py", line 1036, in setUpClass
'database': db_name,
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/core/management/__init__.py", line 131, in call_command
return command.execute(*args, **defaults)
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 69, in handle
self.loaddata(fixture_labels)
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 109, in loaddata
self.load_label(fixture_label)
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 166, in load_label
for obj in objects:
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/core/serializers/json.py", line 88, in Deserializer
six.reraise(DeserializationError, DeserializationError(e), sys.exc_info()[2])
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/core/serializers/json.py", line 82, in Deserializer
for obj in PythonDeserializer(objects, **options):
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/core/serializers/python.py", line 172, in Deserializer
raise base.DeserializationError.WithData(e, d['model'], d.get('pk'), field_value)
DeserializationError: Problem installing fixture '/vagrant/neighborhoods/fixtures/neighborhood_pages_2017-05-09.json': Group matching query does not exist.: (wagtailcore.grouppagepermission:pk=1) field_value was '[u'Moderators']'
Error
Traceback (most recent call last):
File "/vagrant/neighborhoods/test_models.py", line 208, in setUp
root.add_child(instance=self.market_page)
AttributeError: 'NoneType' object has no attribute 'add_child'
Error
Traceback (most recent call last):
File "/vagrant/neighborhoods/test_models.py", line 208, in setUp
root.add_child(instance=self.market_page)
AttributeError: 'NoneType' object has no attribute 'add_child'
Error
Traceback (most recent call last):
File "/vagrant/neighborhoods/test_models.py", line 208, in setUp
root.add_child(instance=self.market_page)
AttributeError: 'NoneType' object has no attribute 'add_child'
Error
Traceback (most recent call last):
File "/vagrant/neighborhoods/test_models.py", line 176, in test_template_vars_tested
root.add_child(instance=mp)
AttributeError: 'NoneType' object has no attribute 'add_child'
Failure
Traceback (most recent call last):
File "/vagrant/realestate_db/test_models.py", line 142, in test_suite_should_throw_if_date_not_set_for_available_on
suite.save()
AssertionError: IntegrityError not raised
Failure
Traceback (most recent call last):
File "/vagrant/realestate_db/test_models.py", line 151, in test_suite_should_throw_if_date_set_for_not_available
suite.save()
AssertionError: IntegrityError not raised
No handlers could be found for logger "graphql.execution.executor"
Error
Traceback (most recent call last):
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/test/utils.py", line 384, in inner
return func(*args, **kwargs)
File "/vagrant/findoffice/test_tasks.py", line 131, in test_send_building_alerts
send_building_alerts(self.preference1.frequency)
File "/vagrant/commons/testing_tools.py", line 32, in __exit__
final_task_count = self.channel._size(self.queue_name)
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/kombu/transport/django/__init__.py", line 55, in _size
return self.Queue.objects.size(queue)
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/kombu/transport/django/managers.py", line 40, in size
return self.get(name=queue_name).messages.count()
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/django/db/models/query.py", line 380, in get
self.model._meta.object_name
DoesNotExist: Queue matching query does not exist.
Destroying test database for alias 'default'...
Destroying test database for alias 'hubspot_v2'...
Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment