Compare commits
9 Commits
2399b5e882
...
00bd524d98
Author | SHA1 | Date | |
---|---|---|---|
00bd524d98 | |||
0227b74eee | |||
76a052e091 | |||
19cd23879f | |||
f59dc35b25 | |||
debf086b8d | |||
ec1767e38b | |||
0bfe3f9549 | |||
363ec49097 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,7 +15,6 @@ megahal.*
|
|||||||
dr.botzo.log
|
dr.botzo.log
|
||||||
dr.botzo.markov
|
dr.botzo.markov
|
||||||
*.facts
|
*.facts
|
||||||
*.json
|
|
||||||
*.log
|
*.log
|
||||||
*.pyc
|
*.pyc
|
||||||
*.sqlite3
|
*.sqlite3
|
||||||
|
36
tests/fixtures/irc_server_fixture.json
vendored
Normal file
36
tests/fixtures/irc_server_fixture.json
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"model": "ircbot.ircserver",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"name": "Localhost",
|
||||||
|
"hostname": "localhost",
|
||||||
|
"port": 6697,
|
||||||
|
"password": null,
|
||||||
|
"nickname": "test_bot",
|
||||||
|
"realname": "test_bot",
|
||||||
|
"additional_addressed_nicks": "",
|
||||||
|
"use_ssl": true,
|
||||||
|
"use_ipv6": true,
|
||||||
|
"post_connect": "",
|
||||||
|
"delay_before_joins": 5,
|
||||||
|
"xmlrpc_host": "localhost",
|
||||||
|
"xmlrpc_port": 13132,
|
||||||
|
"replace_irc_control_with_markdown": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "ircbot.ircchannel",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"name": "#test",
|
||||||
|
"server": 1,
|
||||||
|
"autojoin": true,
|
||||||
|
"topic_msg": "",
|
||||||
|
"topic_time": "2022-09-09T18:28:29Z",
|
||||||
|
"topic_by": "",
|
||||||
|
"markov_learn_from_channel": true,
|
||||||
|
"discord_bridge": "bridge"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
19
tests/fixtures/markov_fixture.json
vendored
Normal file
19
tests/fixtures/markov_fixture.json
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"model": "markov.markovcontext",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"name": "#factory"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "markov.markovtarget",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"name": "#factory",
|
||||||
|
"context": 1,
|
||||||
|
"channel": 71,
|
||||||
|
"chatter_chance": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user