mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
supybot-test: Use absolute path for directories.
This commit is contained in:
parent
685bedcd74
commit
fed4258040
@ -47,21 +47,21 @@ if not os.path.exists('test-conf'):
|
|||||||
registryFilename = os.path.join('test-conf', 'test.conf')
|
registryFilename = os.path.join('test-conf', 'test.conf')
|
||||||
fd = open(registryFilename, 'w')
|
fd = open(registryFilename, 'w')
|
||||||
fd.write("""
|
fd.write("""
|
||||||
supybot.directories.data: test-data
|
supybot.directories.data: %(base_dir)s/test-data
|
||||||
supybot.directories.conf: test-conf
|
supybot.directories.conf: %(base_dir)s/test-conf
|
||||||
supybot.directories.log: test-logs
|
supybot.directories.log: %(base_dir)s/test-logs
|
||||||
supybot.reply.whenNotCommand: True
|
supybot.reply.whenNotCommand: True
|
||||||
supybot.log.stdout: False
|
supybot.log.stdout: False
|
||||||
supybot.log.stdout.level: ERROR
|
supybot.log.stdout.level: ERROR
|
||||||
supybot.log.level: DEBUG
|
supybot.log.level: DEBUG
|
||||||
supybot.log.format: %(levelname)s %(message)s
|
supybot.log.format: %%(levelname)s %%(message)s
|
||||||
supybot.log.plugins.individualLogfiles: False
|
supybot.log.plugins.individualLogfiles: False
|
||||||
supybot.protocols.irc.throttleTime: 0
|
supybot.protocols.irc.throttleTime: 0
|
||||||
supybot.reply.whenAddressedBy.chars: @
|
supybot.reply.whenAddressedBy.chars: @
|
||||||
supybot.networks.test.server: should.not.need.this
|
supybot.networks.test.server: should.not.need.this
|
||||||
supybot.nick: test
|
supybot.nick: test
|
||||||
supybot.databases.users.allowUnregistration: True
|
supybot.databases.users.allowUnregistration: True
|
||||||
""")
|
""" % {'base_dir': os.getcwd()})
|
||||||
fd.close()
|
fd.close()
|
||||||
|
|
||||||
import supybot.registry as registry
|
import supybot.registry as registry
|
||||||
|
Loading…
Reference in New Issue
Block a user