tests.replacebot_tests module#
Tests for the replace script and ReplaceRobot class.
- class tests.replacebot_tests.TestReplacementsMain(*args, **kwargs)[source]#
Bases:
CheckHostnameMixin
,TWNBotTestCase
Test various calls of main().
- SUMMARY_CONFIRMATION = 'Press Enter to use this automatic message, or enter a description of the\nchanges your bot will make:'#
- abstract_class = False#
- cached = False#
- code = 'test'#
- family = 'wikipedia'#
- net = True#
- site = True#
- sites = {'wikipedia:test': {'code': 'test', 'family': 'wikipedia'}}#