Replace unittest with pytest
This commit is contained in:
parent
1160ee1513
commit
aae4bb3693
10 changed files with 253 additions and 305 deletions
|
@ -2,8 +2,6 @@
|
|||
"""
|
||||
Integration (not unit) tests for pylast.py
|
||||
"""
|
||||
import unittest
|
||||
|
||||
import pylast
|
||||
|
||||
from .test_pylast import TestPyLastWithLastFm
|
||||
|
@ -53,8 +51,4 @@ class TestPyLastLibrary(TestPyLastWithLastFm):
|
|||
library_user = library.get_user()
|
||||
|
||||
# Assert
|
||||
self.assertEqual(library_user, user_to_get)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main(failfast=True)
|
||||
assert library_user == user_to_get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue