tests.weblinkchecker_tests module#

memento client test module.

class tests.memento_tests.MementoTestCase(*args, **kwargs)[source]#

Bases: TestCase

Test memento client.

abstract_class = True#
class tests.memento_tests.TestMementoArchive(*args, **kwargs)[source]#

Bases: CheckHostnameMixin, MementoTestCase

New WebCite Memento tests.

abstract_class = False#
net = True#
sites = {'http://timetravel.mementoweb.org/timemap/json/http://google.com': {'hostname': 'http://timetravel.mementoweb.org/timemap/json/http://google.com'}}#
test_newest()[source]#

Test Archive for newest https://google.com.

timegate_uri = 'http://timetravel.mementoweb.org/timegate/'#
class tests.memento_tests.TestMementoDefault(*args, **kwargs)[source]#

Bases: DisableSiteMixin, MementoTestCase

Test InternetArchive is default Memento timegate.

abstract_class = False#
net = True#
test_invalid()[source]#

Test getting memento for invalid URL.

test_newest()[source]#

Test getting memento for newest https://google.com.

timegate_uri = None#