tests.test_datamodel

Module Contents

Functions

test_folder

Test the Folder model and its methods.

test_data_model

Simple test that creates and manipulates instances of Folder and Twig.

test_uuid

Test that all elements that need to have a UUID have it, and that we can retrieve those elements by their ID.

test_find_path

Test that objects can be traversed using paths, and that we can find the path from a root node to a given object.

test_plugins

Check that Fetcher plugins are properly loaded and have the name and tags on their structs correctly set.

test_dataretriever

Test the identify and fetch methods on a DataRetriever.

test_datafetch

Use a DataRetriever to print what it can fetch from a set of Firefox bookmarks.

API

tests.test_datamodel.test_folder()[source]

Test the Folder model and its methods.

tests.test_datamodel.test_data_model()[source]

Simple test that creates and manipulates instances of Folder and Twig.

tests.test_datamodel.test_uuid()[source]

Test that all elements that need to have a UUID have it, and that we can retrieve those elements by their ID.

tests.test_datamodel.test_find_path()[source]

Test that objects can be traversed using paths, and that we can find the path from a root node to a given object.

tests.test_datamodel.test_plugins()[source]

Check that Fetcher plugins are properly loaded and have the name and tags on their structs correctly set.

tests.test_datamodel.test_dataretriever()[source]

Test the identify and fetch methods on a DataRetriever.

This assesses the basic behavier of the task queue system.

tests.test_datamodel.test_datafetch()[source]

Use a DataRetriever to print what it can fetch from a set of Firefox bookmarks.