]> kaliko git repositories - python-musicpd.git/commitdiff
Fixed tests
authorKaliko Jack <kaliko@azylum.org>
Fri, 16 Nov 2018 16:31:17 +0000 (17:31 +0100)
committerKaliko Jack <kaliko@azylum.org>
Fri, 16 Nov 2018 16:31:17 +0000 (17:31 +0100)
test.py

diff --git a/test.py b/test.py
index 4b08902cb98fdb8ba4feb729b1849fe393a78bd7..5922041619214989740a74aa7416da2a4d0a43b5 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -43,14 +43,14 @@ class testEnvVar(unittest.TestCase):
 
         os.environ['MPD_HOST'] = 'pa55w04d@example.org'
         client = musicpd.MPDClient()
-        self.assertEqual(client.password, 'pa55w04d')
+        self.assertEqual(client.pwd, 'pa55w04d')
         self.assertEqual(client.host, 'example.org')
         self.assertEqual(client.port, '6600')
 
         os.environ.pop('MPD_HOST', None)
         os.environ['MPD_PORT'] = '6666'
         client = musicpd.MPDClient()
-        self.assertEqual(client.password, None)
+        self.assertEqual(client.pwd, None)
         self.assertEqual(client.host, 'localhost')
         self.assertEqual(client.port, '6666')