mirror of
https://github.com/gryf/slack-backup.git
synced 2026-10-09 11:22:29 +02:00
Fix the tests.
For some reason, database key was treated differently in configparser object in python 3.4.2. In Python 3.4.5 everything is fine. Fixed the defaults to make sure all string options are treated equally.
This commit is contained in:
1 parent
6d5f3746a2
commit
3f95986981
3 files changed
+13
-14
No files matched your search
@@ -51,13 +51,6 @@ class TestConfig(unittest.TestCase):
|
||||
args.config = None
|
||||
args.parser = 'fetch'
|
||||
args.verbose = 2
|
||||
args.quiet = None
|
||||
args.channels = None
|
||||
args.database = None
|
||||
args.user = None
|
||||
args.password = None
|
||||
args.team = None
|
||||
args.token = None
|
||||
|
||||
conf = config.Config()
|
||||
conf.update(args)
|
||||
@@ -66,7 +59,7 @@ class TestConfig(unittest.TestCase):
|
||||
'verbose': 2,
|
||||
'quiet': 0,
|
||||
'channels': [],
|
||||
'database': '',
|
||||
'database': None,
|
||||
'user': None,
|
||||
'password': None,
|
||||
'team': None,
|
||||
|
||||
Reference in new issue
Block a user