-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtest_botconf.py
More file actions
33 lines (27 loc) · 817 Bytes
/
test_botconf.py
File metadata and controls
33 lines (27 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Test configuration for rate limiting testing
SERVERTAG = "test"
HOST, PORT = "irc.oftc.net", 6667 # Plain text, no SSL
# Test bot settings
CHANNEL = "#beholder_test"
NICK = "beholder_test"
USERNAME = "beholder_test"
REALNAME = "Rate Limiting Test Bot"
# Test environment settings
BOTDIR = "/tmp"
PWFILE = "/tmp/empty_pw" # Empty password file for test
TEST = True # Skip file existence checks
DISABLE_SASL = True # Disable SASL for testing
# Minimal required paths (not used in test)
FILEROOT = "/tmp/"
WEBROOT = "https://example.com/"
LOGROOT = "/tmp/"
PINOBOT = "nonexistent"
DCBRIDGE = "nonexistent"
# Admin for testing - add your IRC nick here
ADMIN = ["build"]
# No remote servers for testing
SLAVE = False
# Minimal variants dict to prevent errors
VARIANTS = {
"test": ("Test Variant", "test")
}