tests.flow_thanks_tests module#

Tests for thanks-related code.

class tests.flow_thanks_tests.TestThankFlowPost(*args, **kwargs)[source]#

Bases: RequireLoginMixin, SiteWriteMixin, CheckHostnameMixin, TestCase

Test thanks for Flow posts.

abstract_class = False#
code = 'test'#
family = 'wikipedia'#
login = True#
net = True#
classmethod setUpClass()[source]#

Set up class.

site = True#
sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#
test_self_thank()[source]#

Test that thanking one’s own Flow post causes an error.

test_thank_post()[source]#

Test thanks for Flow posts.

write = True#