← Back to team overview

mosquitto-users team mailing list archive

Re: I think mosquitto python library 1.1.3 on Python 2.7 doesn't work with username/pwd

 

Hi Zvi,

I hate to ask, but are you sure you have the username correct?

>         self.client.username_pw_set('uername', 'password')

The username and password code is tested for all client libraries in
the same manner, so I'm quite confident that it is ok. The relevant
test here is test/lib/01-unpwd-set.py. Try:

cd test/lib
./01-unpwd-set.py python/01-unpwd-set.test

or run all the tests using "make test".

Cheers,

Roger


References