rockymeza / wifi

[unmaintained] WiFi tools for linux
http://pypi.python.org/pypi/wifi
BSD 2-Clause "Simplified" License
305 stars 151 forks source link

solved attribute error to dict. #120

Open EXTREMOPHILARUM opened 4 years ago

EXTREMOPHILARUM commented 4 years ago

Not installing bash completion because of lack of permissions. running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing wifi.egg-info/PKG-INFO writing dependency_links to wifi.egg-info/dependency_links.txt writing entry points to wifi.egg-info/entry_points.txt writing requirements to wifi.egg-info/requires.txt writing top-level names to wifi.egg-info/top_level.txt reading manifest file 'wifi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'wifi.egg-info/SOURCES.txt' running build_ext test_empty_init (tests.test_init.CorrectInitTest) ... ERROR test_absolute_quality (tests.test_parsing.IWListParserTest) ... ok test_alternative_iwlist_output (tests.test_parsing.IWListParserTest) ... ok test_blank_ssid (tests.test_parsing.IWListParserTest) ... ok test_frequency_no_channel_output (tests.test_parsing.IWListParserTest) ... ok test_list_index_error (tests.test_parsing.IWListParserTest) ... ok test_no_channel_output (tests.test_parsing.IWListParserTest) ... ok test_no_encryption (tests.test_parsing.IWListParserTest) ... ok test_noise_data_present (tests.test_parsing.IWListParserTest) ... ok test_noise_no_data (tests.test_parsing.IWListParserTest) ... ok test_noname_cell (tests.test_parsing.IWListParserTest) ... ok test_signal_level_out_of_sixty (tests.test_parsing.IWListParserTest) ... ok test_wep (tests.test_parsing.IWListParserTest) ... ok test_wpa1 (tests.test_parsing.IWListParserTest) ... ok test_wpa2 (tests.test_parsing.IWListParserTest) ... ok test_scanning (tests.test_parsing.ScanningTest) ... ok test_failed_connection (tests.test_schemes.TestActivation) ... ok test_successful_connection (tests.test_schemes.TestActivation) ... ok test_unencrypted (tests.test_schemes.TestForCell) ... ok test_wep_ascii (tests.test_schemes.TestForCell) ... ok test_wep_hex (tests.test_schemes.TestForCell) ... ok test_wpa (tests.test_schemes.TestForCell) ... ok test_wpa2 (tests.test_schemes.TestForCell) ... ok test_delete (tests.test_schemes.TestSchemes) ... ok test_find (tests.test_schemes.TestSchemes) ... ok test_save (tests.test_schemes.TestSchemes) ... ok test_scheme_extraction (tests.test_schemes.TestSchemes) ... ok test_str (tests.test_schemes.TestSchemes) ... ok test_with_different_interface (tests.test_schemes.TestSchemes) ... ok test_with_hyphen (tests.test_schemes.TestSchemes) ... ok test_match (tests.test_utils.FuzzyMatchTest) ... ok test_lengths_formatted_correctly (tests.test_utils.PrintTableTest) ... ok test_no_failure_with_non_strs (tests.test_utils.PrintTableTest) ... ok test_db2dbm (tests.test_utils.db2dbMTest) ... ok

====================================================================== ERROR: test_empty_init (tests.test_init.CorrectInitTest)

Traceback (most recent call last): File "/home/extremo/hobby/development/mygit/wifi/tests/test_init.py", line 21, in test_empty_init for field, value in self.fields.iteritems(): AttributeError: 'dict' object has no attribute 'iteritems'


Ran 34 tests in 0.146s

FAILED (errors=1) Test failed: error: Test failed: