mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 03:54:08 +01:00
--clean removes files before running tests, not after
This commit is contained in:
parent
8029e2b390
commit
6b778598bb
@ -230,8 +230,8 @@ def main():
|
||||
runner = unittest.TextTestRunner(verbosity=2)
|
||||
print('Testing began at %s (pid %s)' % (time.ctime(), os.getpid()))
|
||||
if options.clean:
|
||||
log.setLevel(100) # don't log anything anymore
|
||||
shutil.rmtree(conf.supybot.directories.log())
|
||||
log._mkDirs()
|
||||
shutil.rmtree(conf.supybot.directories.conf())
|
||||
shutil.rmtree(conf.supybot.directories.data())
|
||||
result = runner.run(suite)
|
||||
|
Loading…
Reference in New Issue
Block a user