From: Kaliko Jack Date: Fri, 16 Nov 2018 16:31:17 +0000 (+0100) Subject: Fixed tests X-Git-Tag: v0.4.3~2 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=4b44d5f37ad29e54c356f7dcc97194eaabcecc03;p=python-musicpd.git Fixed tests --- 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')