tests.dry_site_tests module#

Tests against a fake Site object.

class tests.dry_site_tests.TestDrySite(*args, **kwargs)[source]#

Bases: DisconnectedSiteMixin, DefaultDrySiteTestCase

Tests against a fake Site object.

abstract_class = False#
code = 'test'#
dry = True#
family = 'wikipedia'#
site = True#
sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#
test_logged_in()[source]#

Test logged_in() method.

test_user_agent()[source]#

Test different variants of user agents.