Skip to content

Instantly share code, notes, and snippets.

@michalochman
Last active October 26, 2016 17:34
Show Gist options
  • Save michalochman/a81432e0433f006fdd62870ef577c317 to your computer and use it in GitHub Desktop.
Save michalochman/a81432e0433f006fdd62870ef577c317 to your computer and use it in GitHub Desktop.
graphene-django test log
$ pip list
apipkg (1.4)
Django (1.10.2)
django-filter (0.15.3)
execnet (1.4.1)
graphene (1.0.2)
graphene-django (1.0)
graphql-core (1.0)
graphql-relay (0.4.4)
iso8601 (0.1.11)
pip (8.1.2)
promise (1.0.0)
py (1.4.31)
pytest (2.9.1)
setuptools (28.6.1)
singledispatch (3.4.0.3)
six (1.10.0)
typing (3.5.2.2)
wheel (0.30.0a0)
$ python setup.py test --pytest-args="-v -s"
running test
Searching for psycopg2
Best match: psycopg2 2.6.2
Processing psycopg2-2.6.2-py3.5-macosx-10.11-x86_64.egg
Using /tmp/graphene-django/.eggs/psycopg2-2.6.2-py3.5-macosx-10.11-x86_64.egg
Searching for mock
Best match: mock 2.0.0
Processing mock-2.0.0-py3.5.egg
Using /tmp/graphene-django/.eggs/mock-2.0.0-py3.5.egg
Searching for pytest-django==2.9.1
Best match: pytest-django 2.9.1
Processing pytest_django-2.9.1-py3.5.egg
Using /tmp/graphene-django/.eggs/pytest_django-2.9.1-py3.5.egg
Searching for pbr>=0.11
Best match: pbr 1.10.0
Processing pbr-1.10.0-py3.5.egg
Using /tmp/graphene-django/.eggs/pbr-1.10.0-py3.5.egg
running egg_info
writing top-level names to graphene_django.egg-info/top_level.txt
writing dependency_links to graphene_django.egg-info/dependency_links.txt
writing requirements to graphene_django.egg-info/requires.txt
writing graphene_django.egg-info/PKG-INFO
reading manifest file 'graphene_django.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'graphene_django.egg-info/SOURCES.txt'
running build_ext
=========================================================================================================================================================================== test session starts ===========================================================================================================================================================================
platform darwin -- Python 3.5.2, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 -- /.virtualenvs/graphene-django/bin/python
cachedir: .cache
rootdir: /tmp/graphene-django, inifile:
plugins: django-2.9.1
collected 0 items / 23 errors
================================================================================================================================================================================= ERRORS ==================================================================================================================================================================================
__________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/debug/tests/test_query.py ___________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
_________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/filter/tests/test_fields.py __________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
____________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/tests/test_command.py _____________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
___________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/tests/test_converter.py ____________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
_________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/tests/test_form_converter.py _________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
_____________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/tests/test_forms.py ______________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
_____________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/tests/test_query.py ______________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
_____________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/tests/test_schema.py _____________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
_____________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/tests/test_types.py ______________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
_____________________________________________________________________________________________________________________________________________________ ERROR collecting build/lib/graphene_django/tests/test_views.py ______________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
build/lib/graphene_django/__init__.py:1: in <module>
from .types import (
build/lib/graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
______________________________________________________________________________________________________________________________________________________ ERROR collecting examples/starwars/tests/test_connections.py _______________________________________________________________________________________________________________________________________________________
examples/starwars/tests/test_connections.py:3: in <module>
from ..data import initialize
examples/starwars/data.py:1: in <module>
from .models import Character, Faction, Ship
examples/starwars/models.py:6: in <module>
class Character(models.Model):
examples/starwars/models.py:7: in Character
name = models.CharField(max_length=50)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/db/models/fields/__init__.py:1043: in __init__
super(CharField, self).__init__(*args, **kwargs)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/db/models/fields/__init__.py:166: in __init__
self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/conf/__init__.py:53: in __getattr__
self._setup(name)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/conf/__init__.py:39: in _setup
% (desc, ENVIRONMENT_VARIABLE))
E django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
________________________________________________________________________________________________________________________________________________________ ERROR collecting examples/starwars/tests/test_mutation.py ________________________________________________________________________________________________________________________________________________________
examples/starwars/tests/test_mutation.py:3: in <module>
from ..data import initialize
examples/starwars/data.py:1: in <module>
from .models import Character, Faction, Ship
examples/starwars/models.py:6: in <module>
class Character(models.Model):
examples/starwars/models.py:7: in Character
name = models.CharField(max_length=50)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/db/models/fields/__init__.py:1043: in __init__
super(CharField, self).__init__(*args, **kwargs)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/db/models/fields/__init__.py:166: in __init__
self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/conf/__init__.py:53: in __getattr__
self._setup(name)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/conf/__init__.py:39: in _setup
% (desc, ENVIRONMENT_VARIABLE))
E django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
__________________________________________________________________________________________________________________________________________________ ERROR collecting examples/starwars/tests/test_objectidentification.py __________________________________________________________________________________________________________________________________________________
examples/starwars/tests/test_objectidentification.py:3: in <module>
from ..data import initialize
examples/starwars/data.py:1: in <module>
from .models import Character, Faction, Ship
examples/starwars/models.py:6: in <module>
class Character(models.Model):
examples/starwars/models.py:7: in Character
name = models.CharField(max_length=50)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/db/models/fields/__init__.py:1043: in __init__
super(CharField, self).__init__(*args, **kwargs)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/db/models/fields/__init__.py:166: in __init__
self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/conf/__init__.py:53: in __getattr__
self._setup(name)
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/Django-1.10.2-py3.5.egg/django/conf/__init__.py:39: in _setup
% (desc, ENVIRONMENT_VARIABLE))
E django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
_______________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/debug/tests/test_query.py ________________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
______________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/filter/tests/test_fields.py _______________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
_________________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/tests/test_command.py __________________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
________________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/tests/test_converter.py _________________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
______________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/tests/test_form_converter.py ______________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
__________________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/tests/test_forms.py ___________________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
__________________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/tests/test_query.py ___________________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
__________________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/tests/test_schema.py __________________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
__________________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/tests/test_types.py ___________________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
__________________________________________________________________________________________________________________________________________________________ ERROR collecting graphene_django/tests/test_views.py ___________________________________________________________________________________________________________________________________________________________
/tmp/.virtualenvs/graphene-django/lib/python3.5/site-packages/py/_path/local.py:650: in pyimport
__import__(modname)
graphene_django/__init__.py:1: in <module>
from .types import (
graphene_django/types.py:6: in <module>
from graphene import Field, ObjectType
E ImportError: cannot import name 'Field'
======================================================================================================================================================================== 23 error in 0.96 seconds =========================================================================================================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment