This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This package provides a neo4j server stub setup based on a real neo4j server.



This test is using a neo4j server. The test setUp method used for this test is calling our startNeo4jServer method which is starting a neo4j server. The first time this test get called a new neo4j server will get downloaded. The test setup looks like:

def test_suite():
    return unittest.TestSuite((
            setUp=testing.doctestSetUp, tearDown=testing.doctestTearDown,

Your setup with a custom conf folder could look like:

def mySetUp(test):
    # setup neo4j server
    here = os.path.dirname(__file__)
    sandbox = os.path.join(here, 'sandbox')
    confSource = os.path.join(here, 'conf')
    startNeo4jServer(sandbox, confSource=confSource)

def myTearDown(test):
    # tear down neo4j server
    here = os.path.dirname(__file__)
    sandbox = os.path.join(here, 'sandbox')
    # do some custom teardown stuff here

Also see our for a sample setup.


On windows a service with the name p01_neo4jstub_testing get installed and removed during the test run. This is not nice but that’s how neo4j can get stopped after starting. If soemthing fails and the service dosn’t get removed, you can simply use the follwoingcommand for remove the service:

sc delete p01_neo4jstub_testing


Let’s setup a python httplib connection:

>>> import httplib
>>> conn = httplib.HTTPConnection('localhost', 47474)

and test the cluster state:

>>> conn.request('GET', '/db/data')
>>> response = conn.getresponse()
>>> response.status


0.5.0 (28-06-2013)

  • initial release
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (22.2 kB) Copy SHA256 Checksum SHA256 Source Jun 28, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting