From 4b44d5f37ad29e54c356f7dcc97194eaabcecc03 Mon Sep 17 00:00:00 2001 From: Kaliko Jack Date: Fri, 16 Nov 2018 17:31:17 +0100 Subject: [PATCH] Fixed tests --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 4b08902..5922041 100755 --- 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') -- 2.39.5