Closed KrisKusano closed 7 years ago
Thanks a lot for the thorough work! I'll deploy to PyPi.
Updated since access_points-0.3.50
. Feel free to test it out with pip install -U --no-cache access_points
Actually, I did an integration test on my own machine and it stopped working....
EDIT: This line is the problem: https://github.com/kootenpv/access_points/blob/master/access_points/__init__.py#L79
When I remove it, then it works again for OSX. Could you perhaps try to see if you could make this work without making it str()
here? Note that I'm using py3
myself, so I wouldn't think it is necessary.
I found out we were both trying to ensure string at multiple locations, and it went weird like that.
Note there is the ensure_str
function defined at the top. I just did another push.
Could you confirm pip3.5 install -U --no-cache access_points
(access-points==0.3.52
) is working?
Summary
WindowsWifiScanner.parse_output
where SSID would not match quality/BSID.IwlistWifiScanner.parse_output
where quality of all but the last SSID would be incorrect.How I discovered bugs
When running the new tests I added with the original code, both
test_iwlist
andtest_windows
fail. I discovered the bug when trying out yourwhereami
project and getting crummy results on my Windows setup. After making the tests of all of the parsers, I found a bug similar to the Windows one in theIwlistWifiScanner
(OSXWifiScanner
passes).