provdbconnector.tests.db_adapters.neo4j package

Submodules

provdbconnector.tests.db_adapters.neo4j.test_neo4jadapter module

class provdbconnector.tests.db_adapters.neo4j.test_neo4jadapter.Neo4jAdapterTests(*args, **kwargs)[source]

Bases: provdbconnector.tests.db_adapters.test_baseadapter.AdapterTestTemplate

This test extends from AdapterTestTemplate and provide a common set for the neo4j adapter

setUp()[source]

Setup the test

test_connect_fails()[source]

Try to connect with the wrong password

test_connect_invalid_options()[source]

Try to connect with some invalid arguments

tearDown()[source]

Delete all data on the database :return:

class provdbconnector.tests.db_adapters.neo4j.test_neo4jadapter.Neo4jAdapterProvDbTests(*args, **kwargs)[source]

Bases: provdbconnector.tests.test_prov_db.ProvDbTestTemplate

High level api test for the neo4j adapter

setUp()[source]

Use the setup method to create a provapi instance with you adapter

Warning

Override this function if you extend this test! Otherwise the test will fail.

Returns:
clear_database()[source]

This function get called before each test starts

tearDown()[source]

Delete all data in the database

Module contents