Skip to content

Instantly share code, notes, and snippets.

@mhluongo
Created August 3, 2012 20:39
Show Gist options
  • Save mhluongo/3251313 to your computer and use it in GitHub Desktop.
Save mhluongo/3251313 to your computer and use it in GitHub Desktop.
Attempt to replicate http://travis-ci.org/#!/mhluongo/neo4django/jobs/2013936 using the travis-php box.
vagrant@nettuno:~$ cd ~/builds
vagrant@nettuno:~/builds$ export TRAVIS_PULL_REQUEST=false
vagrant@nettuno:~/builds$ export TRAVIS_SECURE_ENV_VARS=false
vagrant@nettuno:~/builds$ export NEO4J_VERSION="1.6.3"
vagrant@nettuno:~/builds$ git clone --depth=100 --quiet git://github.com/mhluongo/neo4django.git mhluongo/neo4django
vagrant@nettuno:~/builds$ cd mhluongo/neo4django
vagrant@nettuno:~/builds/mhluongo/neo4django$ git checkout -qf 155c266129d2d587b39e5d7acff86b123c94dda7
vagrant@nettuno:~/builds/mhluongo/neo4django$ export TRAVIS_PYTHON_VERSION=2.6
vagrant@nettuno:~/builds/mhluongo/neo4django$ source ~/virtualenv/python2.6/bin/activate
vagrant@nettuno:~/builds/mhluongo/neo4django$ python --version
Python 2.6.7
vagrant@nettuno:~/builds/mhluongo/neo4django$ pip --version
pip 1.1 from /home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/pip-1.1-py2.6.egg (python 2.6)
vagrant@nettuno:~/builds/mhluongo/neo4django$ export DJANGO_SETTINGS_MODULE="neo4django.tests.test_settings"
vagrant@nettuno:~/builds/mhluongo/neo4django$ export NEO4J_PORT="7474"
vagrant@nettuno:~/builds/mhluongo/neo4django$ sudo service neo4j stop && true
ERROR: Neo4j Server not running
vagrant@nettuno:~/builds/mhluongo/neo4django$ sleep 3
vagrant@nettuno:~/builds/mhluongo/neo4django$ ./install_local_neo4j.bash $NEO4J_VERSION
--2012-08-03 20:31:46-- http://dist.neo4j.org/neo4j-community-1.6.3-unix.tar.gz
Resolving dist.neo4j.org... 178.236.5.70
Connecting to dist.neo4j.org|178.236.5.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37403226 (36M) [application/x-tar]
Saving to: `neo4j-community-1.6.3-unix.tar.gz'
100%[======================================>] 37,403,226 1.12M/s in 54s
2012-08-03 20:32:40 (682 KB/s) - `neo4j-community-1.6.3-unix.tar.gz' saved [37403226/37403226]
--2012-08-03 20:32:41-- https://github.com/downloads/jexp/neo4j-clean-remote-db-addon/test-delete-db-extension-1.6.jar
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cloud.github.com/downloads/jexp/neo4j-clean-remote-db-addon/test-delete-db-extension-1.6.jar [following]
--2012-08-03 20:32:41-- http://cloud.github.com/downloads/jexp/neo4j-clean-remote-db-addon/test-delete-db-extension-1.6.jar
Resolving cloud.github.com... 216.137.47.191, 216.137.47.111, 216.137.47.167, ...
Connecting to cloud.github.com|216.137.47.191|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13569 (13K) [application/java-archive]
Saving to: `lib/neo4j/testing/test-delete-db-extension-1.6.jar'
100%[======================================>] 13,569 --.-K/s in 0.07s
2012-08-03 20:32:42 (200 KB/s) - `lib/neo4j/testing/test-delete-db-extension-1.6.jar' saved [13569/13569]
vagrant@nettuno:~/builds/mhluongo/neo4django$ ./lib/neo4j/bin/neo4j start || ( cat ./lib/neo4j/data/log/*.log && exit 1 )
Starting Neo4j Server...WARNING: not changing user
process [7913]... waiting for server to be ready....... OK.
vagrant@nettuno:~/builds/mhluongo/neo4django$ pip install --use-mirrors -r requirements.txt -r test_requirements.txt
Downloading/unpacking jexp>=0.1.2 (from -r requirements.txt (line 1))
Downloading jexp-0.1.2.tar.gz
Running setup.py egg_info for package jexp
Downloading/unpacking httplib2>=0.6.0 (from -r requirements.txt (line 2))
Downloading httplib2-0.7.4.tar.gz (106Kb): 106Kb downloaded
Running setup.py egg_info for package httplib2
Downloading/unpacking Django>=1.3 (from -r requirements.txt (line 3))
Downloading Django-1.4.1.tar.gz (7.7Mb): 7.7Mb downloaded
Running setup.py egg_info for package Django
Downloading/unpacking decorator>=3.3.1 (from -r requirements.txt (line 4))
Downloading decorator-3.3.3.tar.gz
Running setup.py egg_info for package decorator
warning: no previously-included files found matching 'Makefile'
Downloading/unpacking python-dateutil==1.5 (from -r requirements.txt (line 5))
Downloading python-dateutil-1.5.tar.gz (233Kb): 233Kb downloaded
Running setup.py egg_info for package python-dateutil
Obtaining neo4jrestclient from git+https://github.com/versae/neo4j-rest-client@fa902cb6c8d85de52da9588a4bd51eeb1a66dbd2#egg=neo4jrestclient-1.6.2-dev (from -r requirements.txt (line 6))
Cloning https://github.com/versae/neo4j-rest-client (to fa902cb6c8d85de52da9588a4bd51eeb1a66dbd2) to /home/vagrant/virtualenv/python2.6/src/neo4jrestclient
Could not find a tag or branch 'fa902cb6c8d85de52da9588a4bd51eeb1a66dbd2', assuming commit.
Running setup.py egg_info for package neo4jrestclient
Requirement already satisfied (use --upgrade to upgrade): nose>=1.0.0 in /home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages (from -r test_requirements.txt (line 1))
Downloading/unpacking nose-regression>=1.0 (from -r test_requirements.txt (line 2))
Downloading nose-regression-1.0.tar.gz
Running setup.py egg_info for package nose-regression
Downloading/unpacking requests (from -r test_requirements.txt (line 3))
Downloading requests-0.13.5.tar.gz (519Kb): 519Kb downloaded
Running setup.py egg_info for package requests
warning: no files found matching 'tests/*.'
Downloading/unpacking lucene-querybuilder==0.1.5 (from neo4jrestclient->-r requirements.txt (line 6))
Downloading lucene-querybuilder-0.1.5.tar.gz
Running setup.py egg_info for package lucene-querybuilder
Installing collected packages: jexp, httplib2, Django, decorator, python-dateutil, neo4jrestclient, nose-regression, requests, lucene-querybuilder
Running setup.py install for jexp
Running setup.py install for httplib2
Running setup.py install for Django
changing mode of build/scripts-2.6/django-admin.py from 664 to 775
changing mode of /home/vagrant/virtualenv/python2.6/bin/django-admin.py to 775
Running setup.py install for decorator
warning: no previously-included files found matching 'Makefile'
Running setup.py install for python-dateutil
Running setup.py develop for neo4jrestclient
Creating /home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/neo4jrestclient.egg-link (link to .)
Adding neo4jrestclient 1.6.2 to easy-install.pth file
Installed /home/vagrant/virtualenv/python2.6/src/neo4jrestclient
Running setup.py install for nose-regression
Running setup.py install for requests
warning: no files found matching 'tests/*.'
Running setup.py install for lucene-querybuilder
Successfully installed jexp httplib2 Django decorator python-dateutil neo4jrestclient nose-regression requests lucene-querybuilder
Cleaning up...
vagrant@nettuno:~/builds/mhluongo/neo4django$ nosetests --with-regression --verbose
/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/django/conf/__init__.py:110: DeprecationWarning: The SECRET_KEY setting must not be empty.
warnings.warn("The SECRET_KEY setting must not be empty.", DeprecationWarning)
neo4django.tests.django_tests.test_json_serialize ... ok
Tests unique property behavior. ... ok
Tests whether indexed nodes, by default, share a parent index. ... ok
neo4django.tests.index_tests.test_indexed_types ... ok
neo4django.tests.index_tests.test_auto_property_indexing ... ok
neo4django.tests.model_tests.test_custom_manager ... ok
Basic sanity check for NodeModel save and delete. ... ok
Tests for type node existence and uniqueness. ... /home/vagrant/virtualenv/python2.6/src/neo4jrestclient/neo4jrestclient/client.py:113: DeprecationWarning: Deprecated, the reference node is not needed anymore
DeprecationWarning)
ok
neo4django.tests.model_tests.test_model_inheritance ... ok
Tests that NodeModel subclasses can be created and deleted independently. ... FAIL
Tests functional saved model to model "casting". ... ok
neo4django.tests.model_tests.test_model_casting_validation ... ERROR
neo4django.tests.model_tests.test_model_copy ... ok
neo4django.tests.neo4jclient_tests.test_cleandb ... ok
neo4django.tests.neo4jclient_tests.test_other_library ... ok
Testing to make sure our custom ... ok
Confirm 'create()' works for NodeQuerySet. ... ok
Confirm 'delete()' works for NodeQuerySet. ... /home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py:40: DeprecationWarning: object.__init__() takes no parameters
super(Condition, self).__init__( *args, **kwargs)
ok
Confirm 'all()' is iterable. ... ok
Testing dates() with simple time right now ... ERROR
neo4django.tests.nodequeryset_tests.test_none ... ok
Tests that all() returns all saved models of a type, and that calling it ... ok
neo4django.tests.nodequeryset_tests.test_queryset_str ... ok
Tests a basic query over a single type. Only indexed fields are tested. ... ok
Tests a negated query over a single type. Only indexed fields are tested. ... ok
Tests a query over a single type. Only non-indexed fields are tested. ... ok
Tests a single-type query with both indexed and non-indexed fields. ... ok
Tests that Query properly excludes results of different types. ... ERROR
Tests Queryset.get() with and without filter parameters. ... ok
Tests Queryset.get() using id as a filter parameter. ... ok
neo4django.tests.nodequeryset_tests.test_filter_exact ... ok
neo4django.tests.nodequeryset_tests.test_filter_iexact ... ERROR
Tests Queryset.filter() with an id__in field lookup. ... ok
neo4django.tests.nodequeryset_tests.test_filter_gt ... ok
neo4django.tests.nodequeryset_tests.test_filter_gte ... ok
neo4django.tests.nodequeryset_tests.test_filter_lt ... ok
neo4django.tests.nodequeryset_tests.test_filter_lte ... ok
neo4django.tests.nodequeryset_tests.test_filter_range ... ok
neo4django.tests.nodequeryset_tests.test_filter_date_range ... ok
Tests the new `field__member` array membership field lookup. ... ok
neo4django.tests.nodequeryset_tests.test_filter_in ... ok
Tests the `field__member_in` array membership field lookup. ... ok
neo4django.tests.nodequeryset_tests.test_exclude_exact ... ok
Tests Queryset.in_bulk(). ... ok
Tests QuerySet.in_builk() with items not found. ... ok
neo4django.tests.nodequeryset_tests.test_contains ... ok
neo4django.tests.nodequeryset_tests.test_startswith ... ok
neo4django.tests.nodequeryset_tests.test_select_related ... ERROR
neo4django.tests.nodequeryset_tests.test_large_query ... ok
neo4django.tests.nodequeryset_tests.test_zerovalued_lookup ... ok
neo4django.tests.nodequeryset_tests.test_get_or_create ... ok
neo4django.tests.nodequeryset_tests.test_object_index ... ok
neo4django.tests.property_tests.test_prop ... ok
Confirm that `None` and null verification work properly. ... ok
neo4django.tests.property_tests.test_integer ... ok
neo4django.tests.property_tests.test_date_constructor ... ok
neo4django.tests.property_tests.test_date_prop ... ok
Confirm `DateTimeProperty`s work from a NodeModel constructor. ... ok
neo4django.tests.property_tests.test_datetime_auto_now_add ... FAIL
neo4django.tests.property_tests.test_date_auto_now ... ok
neo4django.tests.property_tests.test_date_auto_now_add ... ok
neo4django.tests.property_tests.test_datetime_prop ... ok
neo4django.tests.property_tests.test_datetime_auto_now ... ok
neo4django.tests.property_tests.test_datetimetz_constructor ... ok
neo4django.tests.property_tests.test_datetimetz_prop ... ok
Tests that ArrayProperty validates properly. ... FAIL
Tests that an empty array is saved and retrieved properly. ... ok
Tests that IntArrayProperty validates, saves and returns properly. ... ok
Tests that StringArrayProperty validates properly. ... ok
Tests that StringArrayProperty validates properly. ... ERROR
Tests that array are stored as token separated strings if use_string flag ... ERROR
Test intra-value escaping is working. ... ok
neo4django.tests.property_tests.test_prop_metadata ... ok
neo4django.tests.property_tests.test_auto_property ... ok
Tests both sides of a simple many-to-many relationship (without relationship ... ok
neo4django.tests.relationship_tests.test_basic_relationship_manager ... ok
neo4django.tests.relationship_tests.test_one_to_many ... ok
neo4django.tests.relationship_tests.test_many_to_one ... ok
neo4django.tests.relationship_tests.test_related_one_to_many ... ok
neo4django.tests.relationship_tests.test_related_many_to_one ... ok
neo4django.tests.relationship_tests.test_one_to_one ... ok
neo4django.tests.relationship_tests.test_ordering ... ok
Tests both sides of a many-to-many relationship with attached properties & model. ... ERROR
Tests setting a multi-node relationship directly instead of adding. ... ok
neo4django.tests.relationship_tests.test_rel_metadata ... ok
neo4django.tests.relationship_tests.test_rel_self ... ok
neo4django.tests.relationship_tests.test_rel_string_target ... ok
neo4django.tests.relationship_tests.test_rel_string_type ... ok
neo4django.tests.relationship_tests.test_relationship_none ... ok
neo4django.tests.relationship_tests.test_relationship_count ... ok
neo4django.tests.relationship_tests.test_relationship_filter ... ok
neo4django.tests.relationship_tests.test_relationship_create ... ok
neo4django.tests.relationship_tests.test_relationship_delete ... ok
Test that inheriting abstract relationships doesn't throw an error. Stems ... ok
Confirm GitHub issue #42, querying doesn't respect rel direction. ... ok
neo4django.tests.relationship_tests.test_rel_slicing ... ok
neo4django.tests.signal_tests.test_pre_init ... ok
neo4django.tests.signal_tests.test_post_init ... ok
neo4django.tests.signal_tests.test_pre_save ... ok
neo4django.tests.signal_tests.test_post_save ... ok
neo4django.tests.signal_tests.test_pre_delete ... ok
neo4django.tests.signal_tests.test_post_delete ... ok
neo4django.tests.signal_tests.test_pre_queryset_delete ... ok
neo4django.tests.signal_tests.test_post_queryset_delete ... ok
neo4django.tests.synchronicity_tests.test_typenode_transactionality ... ok
neo4django.tests.synchronicity_tests.test_autoproperty_transactionality ... ok
======================================================================
ERROR: neo4django.tests.model_tests.test_model_casting_validation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/model_tests.py", line 149, in test_model_casting_validation
raise NotImplementedError('Write this test!')
NotImplementedError: Write this test!
======================================================================
ERROR: Testing dates() with simple time right now
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/nodequeryset_tests.py", line 84, in test_dates
results = DatedPaper.objects.dates('day', 'year').iterator()
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/manager.py", line 38, in dates
return self.get_query_set().dates(*args, **kwargs)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py", line 767, in dates
_field_name=field_name, _kind=kind, _order=order)
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/django/db/models/query.py", line 864, in _clone
c._setup_query()
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py", line 877, in _setup_query
self.query.clear_deferred_loading()
AttributeError: 'Query' object has no attribute 'clear_deferred_loading'
======================================================================
ERROR: Tests that Query properly excludes results of different types.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/nodequeryset_tests.py", line 202, in test_type_query
raise NotImplementedError('Write this test!')
NotImplementedError: Write this test!
======================================================================
ERROR: neo4django.tests.nodequeryset_tests.test_filter_iexact
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/nodequeryset_tests.py", line 259, in test_filter_iexact
jerrys = Person.objects.filter(name__iexact='jerry')
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/manager.py", line 46, in filter
return self.get_query_set().filter(**kwargs)
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/django/db/models/query.py", line 621, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py", line 776, in _filter_or_exclude
for c in conditions_from_kws(self.model, kwargs):
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py", line 643, in conditions_from_kws
return [condition_from_kw(nodetype, i) for i in kwdict.items()]
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py", line 631, in condition_from_kw
raise NotImplementedError('The {0} operator is not yet implemented.'.format(terms[1]))
NotImplementedError: The iexact operator is not yet implemented.
======================================================================
ERROR: neo4django.tests.nodequeryset_tests.test_select_related
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/nodequeryset_tests.py", line 522, in test_select_related
check_dog_hier_from_q(RelatedDog.objects.all().select_related(depth=2))
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/nodequeryset_tests.py", line 507, in check_dog_hier_from_q
for d in queryset:
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/django/db/models/query.py", line 118, in _result_iter
self._fill_cache()
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/django/db/models/query.py", line 875, in _fill_cache
self._result_cache.append(self._iter.next())
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py", line 692, in iterator
for model in self.query.execute(using):
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py", line 585, in execute
max_depth=self.max_depth)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/query.py", line 384, in execute_select_related
new_model = models_so_far[node_id]
KeyError: 372
======================================================================
ERROR: Tests that StringArrayProperty validates properly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/property_tests.py", line 287, in test_url_array_property_validator
n1.save()
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/base.py", line 325, in save
return super(NodeModel, self).save(using=using, **kwargs)
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/django/db/models/base.py", line 463, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/base.py", line 341, in save_base
self._save_properties(self, self.__node, is_new)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/properties.py", line 347, in _save_
prop.clean(value, instance)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/properties.py", line 201, in clean
self.run_validators(value)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/properties.py", line 166, in run_validators
raise exceptions.ValidationError(errors)
ValidationError: [u'Enter a valid sequence of URLs']
======================================================================
ERROR: Tests that array are stored as token separated strings if use_string flag
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/property_tests.py", line 315, in test_array_use_strings
get_raw_property_by_rest(node, "arr")
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/property_tests.py", line 299, in get_raw_property_by_rest
requests.get(node.connection.url + "node/%i/properties" % node.pk))
File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
requests.packages.urllib3.connectionpool: DEBUG: "GET /db/data/node/580/properties HTTP/1.1" 200 21
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: Tests both sides of a many-to-many relationship with attached properties & model.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/relationship_tests.py", line 201, in test_relationship_model
class Authorship(models.Relationship):
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/relationships.py", line 72, in __new__
Model = RelationshipModel.new(module, name, modelbases)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/db/models/relationships.py", line 119, in new
'__module__': module,})
TypeError: Error when calling the metaclass bases
type() argument 2 must be tuple, not list
======================================================================
FAIL: Tests that NodeModel subclasses can be created and deleted independently.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/model_tests.py", line 117, in test_nodemodel_independence
assert not hasattr(n2, 'age'), "Age should not be defined, as the new class didn't define it."
AssertionError: Age should not be defined, as the new class didn't define it.
======================================================================
FAIL: neo4django.tests.property_tests.test_datetime_auto_now_add
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/property_tests.py", line 129, in test_datetime_auto_now_add
assert abs(test1-test2) <= .6
AssertionError
======================================================================
FAIL: Tests that ArrayProperty validates properly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/virtualenv/python2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/vagrant/builds/mhluongo/neo4django/neo4django/tests/property_tests.py", line 235, in test_array_property_validator
raise AssertionError('strings should not work')
AssertionError: strings should not work
---------------------------------------------------------------------
Regression testing results:
No new tests have passed.
3 test(s) failed their regression test:
neo4django.tests.nodequeryset_tests.test_select_related,
neo4django.tests.property_tests.test_datetime_auto_now_add,
neo4django.tests.property_tests.test_array_property_validator
----------------------------------------------------------------------
Ran 106 tests in 46.852s
FAILED (errors=8, failures=3)
@joshk
Copy link

joshk commented Aug 4, 2012

Sorry, there is a lot to read here, what are the main differences between the two?

@mhluongo
Copy link
Author

mhluongo commented Aug 6, 2012

In the original, 19 tests fail, and locally, only 3 do. Other than the prompt, the only other difference I noticed was that the box I downloaded didn't have Neo4j running on startup.

I think maybe you guys changed back to that behavior, though, since I'm now seeing the above behavior live on travis-ci.org. Maybe there was an errant environment variable somewhere or something? Regardless, everything is working now- thanks!

@joshk
Copy link

joshk commented Aug 6, 2012 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment