Format with Black 18.6b1
This commit is contained in:
parent
e5a5278d51
commit
da9465c100
13 changed files with 458 additions and 414 deletions
|
@ -22,8 +22,7 @@ class TestPyLastWithLibreFm(PyLastTestCase):
|
|||
password_hash = secrets["password_hash"]
|
||||
|
||||
# Act
|
||||
network = pylast.LibreFMNetwork(
|
||||
password_hash=password_hash, username=username)
|
||||
network = pylast.LibreFMNetwork(password_hash=password_hash, username=username)
|
||||
artist = network.get_artist("Radiohead")
|
||||
name = artist.get_name()
|
||||
|
||||
|
@ -35,8 +34,7 @@ class TestPyLastWithLibreFm(PyLastTestCase):
|
|||
secrets = load_secrets()
|
||||
username = secrets["username"]
|
||||
password_hash = secrets["password_hash"]
|
||||
network = pylast.LibreFMNetwork(
|
||||
password_hash=password_hash, username=username)
|
||||
network = pylast.LibreFMNetwork(password_hash=password_hash, username=username)
|
||||
|
||||
# Act
|
||||
representation = repr(network)
|
||||
|
@ -45,5 +43,5 @@ class TestPyLastWithLibreFm(PyLastTestCase):
|
|||
self.assert_startswith(representation, "pylast.LibreFMNetwork(")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
unittest.main(failfast=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue