Git Product home page Git Product logo

wifitest's People

Contributors

hanc00l avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wifitest's Issues

报错了。。用的win10的Ubuntu子系统

bourbon@DESKTOP-ULUIG0O:/mnt/c/Users/v/Desktop/wifitest-master/wifitest-master$ python wifitest.py
Total KEYS 10
Traceback (most recent call last):
File "wifitest.py", line 177, in
main()
File "wifitest.py", line 171, in main
auto_test(keys,timeout,result_file)
File "wifitest.py", line 111, in auto_test
iface = get_wifi_interface()
File "wifitest.py", line 10, in get_wifi_interface
if len(wifi.interfaces()) <= 0:
File "/home/bourbon/.local/lib/python2.7/site-packages/pywifi/wifi.py", line 42, in interfaces
for interface in wifi_ctrl.interfaces():
File "/home/bourbon/.local/lib/python2.7/site-packages/pywifi/_wifiutil_linux.py", line 281, in interfaces
for f in sorted(os.listdir(CTRL_IFACE_DIR)):
OSError: [Errno 2] No such file or directory: '/var/run/wpa_supplicant'
bourbon@DESKTOP-ULUIG0O:/mnt/c/Users/v/Desktop/wifitest-master/wifitest-master$ python wifitest.py -m m -k top10.txt
Total KEYS 10
Traceback (most recent call last):
File "wifitest.py", line 177, in
main()
File "wifitest.py", line 173, in main
manual_test(keys,timeout,result_file)
File "wifitest.py", line 137, in manual_test
iface = get_wifi_interface()
File "wifitest.py", line 10, in get_wifi_interface
if len(wifi.interfaces()) <= 0:
File "/home/bourbon/.local/lib/python2.7/site-packages/pywifi/wifi.py", line 42, in interfaces
for interface in wifi_ctrl.interfaces():
File "/home/bourbon/.local/lib/python2.7/site-packages/pywifi/_wifiutil_linux.py", line 281, in interfaces
for f in sorted(os.listdir(CTRL_IFACE_DIR)):
OSError: [Errno 2] No such file or directory: '/var/run/wpa_supplicant'

test函数问题

test setup failed
file D:\PyCharm 6.28\wifitest\wifitest.py, line 69
def test(i,face,x,key,stu,ts):
E fixture 'i' not found

  available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, event_loop, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory
  use 'pytest --fixtures [testpath]' for help on them.

D:\PyCharm 6.28\wifitest\wifitest.py:69

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.