Add option to pass raw headers to setup() (in place of terminal input)
Based on this change, coverage now runs without user input
This commit is contained in:
parent
947bbcc17b
commit
3f186d4e00
4 changed files with 20 additions and 21 deletions
|
|
@ -15,7 +15,7 @@ class TestYTMusic(unittest.TestCase):
|
|||
self.assertRaises(Exception, YTMusic, "{}")
|
||||
|
||||
def test_setup(self):
|
||||
YTMusic.setup(config['auth']['headers_file'])
|
||||
YTMusic.setup(config['auth']['headers_file'], config['auth']['headers_raw'])
|
||||
|
||||
###############
|
||||
# BROWSING
|
||||
|
|
|
|||
Loading…
Reference in a new issue